From 45cc7318082a1d127e9b89c87ab4fcc4fc2c368b Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Tue, 6 Dec 2022 12:39:17 +0200 Subject: [PATCH 01/20] finished form style 1 & style 2 --- .../public/.vscode/settings.json | 3 + .../public/images/profile.jpg | Bin 0 -> 4478 bytes .../public/style1/index.html | 387 ++++++++------- .../public/style1/mob.style1.css | 194 ++++++++ .../public/style1/style1.css | 194 ++++++++ .../public/style2/index.html | 221 +++++++++ .../public/style2/mob.style2.css | 0 .../public/style2/normalize.css | 447 ++++++++++++++++++ .../public/style2/style2.css | 210 ++++++++ 9 files changed, 1473 insertions(+), 183 deletions(-) create mode 100644 04_Challenges/cv-styling-master/public/.vscode/settings.json create mode 100644 04_Challenges/cv-styling-master/public/images/profile.jpg create mode 100644 04_Challenges/cv-styling-master/public/style1/mob.style1.css create mode 100644 04_Challenges/cv-styling-master/public/style1/style1.css create mode 100644 04_Challenges/cv-styling-master/public/style2/index.html create mode 100644 04_Challenges/cv-styling-master/public/style2/mob.style2.css create mode 100644 04_Challenges/cv-styling-master/public/style2/normalize.css create mode 100644 04_Challenges/cv-styling-master/public/style2/style2.css diff --git a/04_Challenges/cv-styling-master/public/.vscode/settings.json b/04_Challenges/cv-styling-master/public/.vscode/settings.json new file mode 100644 index 00000000..6b665aaa --- /dev/null +++ b/04_Challenges/cv-styling-master/public/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} diff --git a/04_Challenges/cv-styling-master/public/images/profile.jpg b/04_Challenges/cv-styling-master/public/images/profile.jpg new file mode 100644 index 0000000000000000000000000000000000000000..791b5f6e23f1242d3772fcae6a7b89bdb7cc9034 GIT binary patch literal 4478 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 I9=!PaH>*siPyhe` literal 0 HcmV?d00001 diff --git a/04_Challenges/cv-styling-master/public/style1/index.html b/04_Challenges/cv-styling-master/public/style1/index.html index c40c1144..b6ee55cd 100644 --- a/04_Challenges/cv-styling-master/public/style1/index.html +++ b/04_Challenges/cv-styling-master/public/style1/index.html @@ -1,197 +1,218 @@ - - - - - - - + + - JStudent | CV - - - - + + + + + - - -
-
-
-
-

Student Name

-

Codes and Sleeps

-
-
- Student Name -
-
-
-
-
-

About

-

- Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu condimentum mauris. Proin accumsan enim at risus hendrerit lobortis. Nunc sollicitudin sodales lectus, et rhoncus mi molestie hendrerit. Vestibulum velit lorem, rhoncus a congue ultricies, faucibus facilisis risus. Mauris turpis ante, aliquet ac venenatis at, ornare ut velit. Duis ut erat neque, eget consectetur tellus. -

-
-
-

Competencies

-
-
- HTML -
-
- CSS -
-
- Javascript -
+ JStudent | CV + + + + + + + +
+
+
+
+

Ahmad AL Ahmad

+

Codes and Eats

+
+
+ Ahmad Al Ahmad +
-
-
- HTML +
+ +
+
+

About

+

+ Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu + condimentum mauris. Proin accumsan enim at risus hendrerit lobortis. + Nunc sollicitudin sodales lectus, et rhoncus mi molestie hendrerit. + Vestibulum velit lorem, rhoncus a congue ultricies, faucibus + facilisis risus. Mauris turpis ante, aliquet ac venenatis at, ornare + ut velit. Duis ut erat neque, eget consectetur tellus. +

+
+
+

Competencies

+
+
+ HTML +
+
+ CSS +
+
+ Javascript +
-
- CSS +
+
+ HTML +
+
+ CSS +
+
+ Javascript +
-
- Javascript +
+
+

Experiences

+
+

+ Man2ouche Seller + Snack Edouard +

+
+ Paris + + 30 + / + 12 + / + 1995 + +
+

+ Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu + condimentum mauris. Proin accumsan enim at risus hendrerit + lobortis. Nunc sollicitudin sodales lectus, et rhoncus mi molestie + hendrerit. Vestibulum velit lorem, rhoncus a congue ultricies, + faucibus facilisis risus. Mauris turpis ante, aliquet ac venenatis + at, ornare ut velit. Duis ut erat neque, eget consectetur tellus. +

-
-
-
-

Experiences

-
-

- Man2ouche Seller - Snack Edouard -

-
- - Paris - - - 30 - / - 12 - / - 1995 - +
+

+ Man2ouche Seller + Snack Edouard +

+
+ Paris + + 30 + / + 12 + / + 1995 + +
+

+ Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu + condimentum mauris. Proin accumsan enim at risus hendrerit + lobortis. Nunc sollicitudin sodales lectus, et rhoncus mi molestie + hendrerit. Vestibulum velit lorem, rhoncus a congue ultricies, + faucibus facilisis risus. Mauris turpis ante, aliquet ac venenatis + at, ornare ut velit. Duis ut erat neque, eget consectetur tellus. +

-

- Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu condimentum mauris. Proin accumsan enim at risus hendrerit lobortis. Nunc sollicitudin sodales lectus, et rhoncus mi molestie hendrerit. Vestibulum velit lorem, rhoncus a congue ultricies, faucibus facilisis risus. Mauris turpis ante, aliquet ac venenatis at, ornare ut velit. Duis ut erat neque, eget consectetur tellus. -

-
-
-

- Man2ouche Seller - Snack Edouard -

-
- - Paris - - - 30 - / - 12 - / - 1995 - +
+
+

Education

+
+

+ Web Stack Training + Codi +

+
+ Beirut + + 30 + / + 12 + / + 1995 + +
+

+ Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu + condimentum mauris. Proin accumsan enim at risus hendrerit + lobortis. Nunc sollicitudin sodales lectus, et rhoncus mi molestie + hendrerit. Vestibulum velit lorem, rhoncus a congue ultricies, + faucibus facilisis risus. Mauris turpis ante, aliquet ac venenatis + at, ornare ut velit. Duis ut erat neque, eget consectetur tellus. +

-

- Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu condimentum mauris. Proin accumsan enim at risus hendrerit lobortis. Nunc sollicitudin sodales lectus, et rhoncus mi molestie hendrerit. Vestibulum velit lorem, rhoncus a congue ultricies, faucibus facilisis risus. Mauris turpis ante, aliquet ac venenatis at, ornare ut velit. Duis ut erat neque, eget consectetur tellus. -

-
- -
-

Education

-
-

- Web Stack Training - Codi -

-
- - Beirut - - - 30 - / - 12 - / - 1995 - +
+

+ Man2ouche Seller + Snack Edouard +

+
+ Paris + + 30 + / + 12 + / + 1995 + +
+

+ Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu + condimentum mauris. Proin accumsan enim at risus hendrerit + lobortis. Nunc sollicitudin sodales lectus, et rhoncus mi molestie + hendrerit. Vestibulum velit lorem, rhoncus a congue ultricies, + faucibus facilisis risus. Mauris turpis ante, aliquet ac venenatis + at, ornare ut velit. Duis ut erat neque, eget consectetur tellus. +

-

- Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu condimentum mauris. Proin accumsan enim at risus hendrerit lobortis. Nunc sollicitudin sodales lectus, et rhoncus mi molestie hendrerit. Vestibulum velit lorem, rhoncus a congue ultricies, faucibus facilisis risus. Mauris turpis ante, aliquet ac venenatis at, ornare ut velit. Duis ut erat neque, eget consectetur tellus. -

-
-
-

- Man2ouche Seller - Snack Edouard -

-
- - Paris - - - 30 - / - 12 - / - 1995 - +
+
+

Hobbies

+
    +
  • Watching Youtube
  • +
  • Sleeping
  • +
  • Writing CVs
  • +
+
+
+ +
+
+
Email
+
+ student@codi.tech +
+
+
+
Skype
+
first-last
+
+
+
Phone/Whatsapp
+
+ +9613123123 +
+
+
+
Github
+
+ UserName +
+
+
+
Facebook
+
+ Profile Name +
+
-

- Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu condimentum mauris. Proin accumsan enim at risus hendrerit lobortis. Nunc sollicitudin sodales lectus, et rhoncus mi molestie hendrerit. Vestibulum velit lorem, rhoncus a congue ultricies, faucibus facilisis risus. Mauris turpis ante, aliquet ac venenatis at, ornare ut velit. Duis ut erat neque, eget consectetur tellus. -

-
- -
-

Hobbies

-
    -
  • Watching Youtube
  • -
  • Sleeping
  • -
  • Writing CVs
  • -
-
-
-

Contact

-
-
-
Email
-
- student@codi.tech -
-
-
-
Skype
-
first-last
-
-
-
Phone/Whatsapp
-
- +9613123123 -
-
-
-
Github
-
- UserName -
-
-
-
Facebook
-
- Profile Name -
-
-
-
+ + - - + diff --git a/04_Challenges/cv-styling-master/public/style1/mob.style1.css b/04_Challenges/cv-styling-master/public/style1/mob.style1.css new file mode 100644 index 00000000..d68f5df3 --- /dev/null +++ b/04_Challenges/cv-styling-master/public/style1/mob.style1.css @@ -0,0 +1,194 @@ + +header{ + background-color: rgb(168, 168, 168); +padding:20px; + +} +header > div{ + color:red; + display: flex; + + +} + + +hgroup{ + color: red; + margin-left:10%; + align-items: center; + margin-top: 40px; + } + h2{ + margin-left: 45px; + } + hgroup h3{ + color: red; + } + img{ + margin-top: 20px; + + } + + #contact{ + + + width: 35%; + background-color: red; + position: absolute; + top: 45px; + right: 10% +} + + +.content { + width: 80%; + grid-template-columns: 1fr 1fr; + grid-gap: 25px; + display: grid; + margin: 0 auto; +} + + +h3::before { + display: block; + content: ''; + position: absolute; + height: 1px; + width: 50%; + margin-left: -30px; + background-color:rgba(128, 128, 128, 0.52); + margin-top: 28px; +} + +h3::after{ + height: 25px; + position: absolute; + content: ''; + display: block; + width: 25px; + border-radius: 50%; + background: red; + margin-top: -25px; + margin-left: -29px; + +} + +dl { + margin: 0; + display: grid; + grid-template-columns: 30% 70%; + height: 28px; +} + +dt { + background-color: red; +} + +dd{ + background-color: black; +} + +.experience-type{ + color:red; +} +.experience-institution{ + color: rgb(233, 105, 105) ; + +} +.experience-details{ + color: grey; + margin-top: -19px; +} +.experience-date-separator{ + color:red; +} + +.experience-institution::before{ + content: '@'; + color:red; + +} + .skills-primary::before{ + content: "Main"; +color:black; +font-weight: bold; +} + +.skills-secondary::before{ + content: "Other"; + color:black; + font-weight: bold; +} + +.skill { + + background-color: rgb(206 206 206); + padding:2%; +margin:1px; + display: flex; + + + +} + +.skills-primary [data-skill="5"] span{ + + color: white; + width: 50%; + background-color: red; + padding: 4px; + margin: -2px; + +} +.skills-primary [data-skill="3"] span{ + color: white; + width: 30%; + background-color: red; + padding: 4px; + margin: -2px; +} + +.skills-primary [data-skill="1"] span{ + color: white; + width: 10%; + background-color: red; + padding: 4px; + margin: -2px; +} + +.skills-secondary [data-skill="9"] span + +{ + color: white; + width: 90%; + background-color: rgb(255 0 0 / 45%); + padding: 4px; + margin: -2px; + +} + +.skills-secondary [data-skill="5"] span + +{ + color: white; + width: 50%; + background-color: rgb(255 0 0 / 45%); + padding: 4px; + margin: -2px; + +} + +.skills-secondary [data-skill="7"] span + +{ + color: white; + width: 70%; + background-color:rgb(255 0 0 / 45%); + padding: 4px; + margin: -2px; + + +} +body{ + margin:0% 10%; +} \ No newline at end of file diff --git a/04_Challenges/cv-styling-master/public/style1/style1.css b/04_Challenges/cv-styling-master/public/style1/style1.css new file mode 100644 index 00000000..d68f5df3 --- /dev/null +++ b/04_Challenges/cv-styling-master/public/style1/style1.css @@ -0,0 +1,194 @@ + +header{ + background-color: rgb(168, 168, 168); +padding:20px; + +} +header > div{ + color:red; + display: flex; + + +} + + +hgroup{ + color: red; + margin-left:10%; + align-items: center; + margin-top: 40px; + } + h2{ + margin-left: 45px; + } + hgroup h3{ + color: red; + } + img{ + margin-top: 20px; + + } + + #contact{ + + + width: 35%; + background-color: red; + position: absolute; + top: 45px; + right: 10% +} + + +.content { + width: 80%; + grid-template-columns: 1fr 1fr; + grid-gap: 25px; + display: grid; + margin: 0 auto; +} + + +h3::before { + display: block; + content: ''; + position: absolute; + height: 1px; + width: 50%; + margin-left: -30px; + background-color:rgba(128, 128, 128, 0.52); + margin-top: 28px; +} + +h3::after{ + height: 25px; + position: absolute; + content: ''; + display: block; + width: 25px; + border-radius: 50%; + background: red; + margin-top: -25px; + margin-left: -29px; + +} + +dl { + margin: 0; + display: grid; + grid-template-columns: 30% 70%; + height: 28px; +} + +dt { + background-color: red; +} + +dd{ + background-color: black; +} + +.experience-type{ + color:red; +} +.experience-institution{ + color: rgb(233, 105, 105) ; + +} +.experience-details{ + color: grey; + margin-top: -19px; +} +.experience-date-separator{ + color:red; +} + +.experience-institution::before{ + content: '@'; + color:red; + +} + .skills-primary::before{ + content: "Main"; +color:black; +font-weight: bold; +} + +.skills-secondary::before{ + content: "Other"; + color:black; + font-weight: bold; +} + +.skill { + + background-color: rgb(206 206 206); + padding:2%; +margin:1px; + display: flex; + + + +} + +.skills-primary [data-skill="5"] span{ + + color: white; + width: 50%; + background-color: red; + padding: 4px; + margin: -2px; + +} +.skills-primary [data-skill="3"] span{ + color: white; + width: 30%; + background-color: red; + padding: 4px; + margin: -2px; +} + +.skills-primary [data-skill="1"] span{ + color: white; + width: 10%; + background-color: red; + padding: 4px; + margin: -2px; +} + +.skills-secondary [data-skill="9"] span + +{ + color: white; + width: 90%; + background-color: rgb(255 0 0 / 45%); + padding: 4px; + margin: -2px; + +} + +.skills-secondary [data-skill="5"] span + +{ + color: white; + width: 50%; + background-color: rgb(255 0 0 / 45%); + padding: 4px; + margin: -2px; + +} + +.skills-secondary [data-skill="7"] span + +{ + color: white; + width: 70%; + background-color:rgb(255 0 0 / 45%); + padding: 4px; + margin: -2px; + + +} +body{ + margin:0% 10%; +} \ No newline at end of file diff --git a/04_Challenges/cv-styling-master/public/style2/index.html b/04_Challenges/cv-styling-master/public/style2/index.html new file mode 100644 index 00000000..2c2efa51 --- /dev/null +++ b/04_Challenges/cv-styling-master/public/style2/index.html @@ -0,0 +1,221 @@ + + + + + + + + + + + + + JStudent | CV + + + + + + + +
+
+
+
+

Student Name

+

Codes and Sleeps

+
+
+ Student Name +
+
+
+
+
+

About

+

+ Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu + condimentum mauris. Proin accumsan enim at risus hendrerit lobortis. + Nunc sollicitudin sodales lectus, et rhoncus mi molestie hendrerit. + Vestibulum velit lorem, rhoncus a congue ultricies, faucibus + facilisis risus. Mauris turpis ante, aliquet ac venenatis at, ornare + ut velit. Duis ut erat neque, eget consectetur tellus. +

+
+
+

Competencies

+
+
+ HTML +
+
+ CSS +
+
+ Javascript +
+
+
+
+ HTML +
+
+ CSS +
+
+ Javascript +
+
+
+
+

Experiences

+
+

+ Man2ouche Seller + Snack Edouard +

+
+ Paris + + 30 + / + 12 + / + 1995 + +
+

+ Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu + condimentum mauris. Proin accumsan enim at risus hendrerit + lobortis. Nunc sollicitudin sodales lectus, et rhoncus mi molestie + hendrerit. Vestibulum velit lorem, rhoncus a congue ultricies, + faucibus facilisis risus. Mauris turpis ante, aliquet ac venenatis + at, ornare ut velit. Duis ut erat neque, eget consectetur tellus. +

+
+
+

+ Man2ouche Seller + Snack Edouard +

+
+ Paris + + 30 + / + 12 + / + 1995 + +
+

+ Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu + condimentum mauris. Proin accumsan enim at risus hendrerit + lobortis. Nunc sollicitudin sodales lectus, et rhoncus mi molestie + hendrerit. Vestibulum velit lorem, rhoncus a congue ultricies, + faucibus facilisis risus. Mauris turpis ante, aliquet ac venenatis + at, ornare ut velit. Duis ut erat neque, eget consectetur tellus. +

+
+
+
+

Education

+
+

+ Web Stack Training + Codi +

+
+ Beirut + + 30 + / + 12 + / + 1995 + +
+

+ Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu + condimentum mauris. Proin accumsan enim at risus hendrerit + lobortis. Nunc sollicitudin sodales lectus, et rhoncus mi molestie + hendrerit. Vestibulum velit lorem, rhoncus a congue ultricies, + faucibus facilisis risus. Mauris turpis ante, aliquet ac venenatis + at, ornare ut velit. Duis ut erat neque, eget consectetur tellus. +

+
+
+

+ Man2ouche Seller + Snack Edouard +

+
+ Paris + + 30 + / + 12 + / + 1995 + +
+

+ Pellentesque nec nisi at sapien sagittis sagittis. Aliquam eu + condimentum mauris. Proin accumsan enim at risus hendrerit + lobortis. Nunc sollicitudin sodales lectus, et rhoncus mi molestie + hendrerit. Vestibulum velit lorem, rhoncus a congue ultricies, + faucibus facilisis risus. Mauris turpis ante, aliquet ac venenatis + at, ornare ut velit. Duis ut erat neque, eget consectetur tellus. +

+
+
+
+

Hobbies

+
    +
  • Watching Youtube
  • +
  • Sleeping
  • +
  • Writing CVs
  • +
+
+
+

Contact

+
+
+
Email
+
+ student@codi.tech +
+
+
+
Skype
+
first-last
+
+
+
Phone/Whatsapp
+
+ +9613123123 +
+
+
+
Github
+
+ UserName +
+
+
+
Facebook
+
+ Profile Name +
+
+
+
+
+
+ + diff --git a/04_Challenges/cv-styling-master/public/style2/mob.style2.css b/04_Challenges/cv-styling-master/public/style2/mob.style2.css new file mode 100644 index 00000000..e69de29b diff --git a/04_Challenges/cv-styling-master/public/style2/normalize.css b/04_Challenges/cv-styling-master/public/style2/normalize.css new file mode 100644 index 00000000..57f93c84 --- /dev/null +++ b/04_Challenges/cv-styling-master/public/style2/normalize.css @@ -0,0 +1,447 @@ +/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in + * IE on Windows Phone and in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Remove the margin in all browsers (opinionated). + */ + +body { + margin: 0; +} + +/** + * Add the correct display in IE 9-. + */ + +article, +aside, +footer, +header, +nav, +section { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + * 1. Add the correct display in IE. + */ + +figcaption, +figure, +main { /* 1 */ + display: block; +} + +/** + * Add the correct margin in IE 8. + */ + +figure { + margin: 1em 40px; +} + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ + +/** + * 1. Remove the gray background on active links in IE 10. + * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. + */ + +a { + background-color: transparent; /* 1 */ + -webkit-text-decoration-skip: objects; /* 2 */ +} + +/** + * 1. Remove the bottom border in Chrome 57- and Firefox 39-. + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Prevent the duplicate application of `bolder` by the next rule in Safari 6. + */ + +b, +strong { + font-weight: inherit; +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font style in Android 4.3-. + */ + +dfn { + font-style: italic; +} + +/** + * Add the correct background and color in IE 9-. + */ + +mark { + background-color: #ff0; + color: #000; +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + */ + +audio, +video { + display: inline-block; +} + +/** + * Add the correct display in iOS 4-7. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Remove the border on images inside links in IE 10-. + */ + +img { + border-style: none; +} + +/** + * Hide the overflow in IE. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change the font styles in all browsers (opinionated). + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: sans-serif; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` + * controls in Android 4. + * 2. Correct the inability to style clickable types in iOS and Safari. + */ + +button, +html [type="button"], /* 1 */ +[type="reset"], +[type="submit"] { + -webkit-appearance: button; /* 2 */ +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ + +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * 1. Add the correct display in IE 9-. + * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ +} + +/** + * Remove the default vertical scrollbar in IE. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10-. + * 2. Remove the padding in IE 10-. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding and cancel buttons in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ + +/* + * Add the correct display in IE 9-. + * 1. Add the correct display in Edge, IE, and Firefox. + */ + +details, /* 1 */ +menu { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Scripting + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + */ + +canvas { + display: inline-block; +} + +/** + * Add the correct display in IE. + */ + +template { + display: none; +} + +/* Hidden + ========================================================================== */ + +/** + * Add the correct display in IE 10-. + */ + +[hidden] { + display: none; +} \ No newline at end of file diff --git a/04_Challenges/cv-styling-master/public/style2/style2.css b/04_Challenges/cv-styling-master/public/style2/style2.css new file mode 100644 index 00000000..5e589fa3 --- /dev/null +++ b/04_Challenges/cv-styling-master/public/style2/style2.css @@ -0,0 +1,210 @@ +img { + position: absolute; + right: 8%; + top: 3%; + transform: rotate(-25deg); +} +header h2 { + display: none; +} +header { + max-width: 90%; + margin: 0 auto; + + height: 4.5rem; + border-bottom: 2px solid gray; + margin-bottom: 8rem; + display: flex; +} +#about h3 { + display: none; +} +#about p { + position: absolute; + top: 10%; + width: 60%; +} + +.content { + padding-top: 5%; + padding-left: 10%; + padding-right: 10%; +} +#competencies { + display: grid; + grid-template-columns: 120px 60%; + grid-template-rows: 50px 50px; + grid-column-gap: 10px; +} +.skills-secondary { + grid-column-start: 2; +} +.skills-secondary, +.skills-primary { + display: grid; + grid-template-columns: 1fr 1fr 1fr; + width: 60%; + grid-column-gap: 10px; + margin-top: 20px; + height: 40px; +} +.skill { + background-color: #349a9a; + display: flex; + align-items: center; + padding-left: 6px; +} +#competencies h3 { + height: 100px; + border-right: 2px solid gray; + font-style: italic; +} + +#experiences, +#education { + display: grid; + grid-template-columns: 150px 70%; + grid-template-rows: 200px 200px; + margin-top: 100px; +} + +#hobbies { + display: flex; +} +.experience:nth-child(3n) { + grid-column-start: 2; +} + +h4 { + color: darkcyan; +} +.experience-details { + float: right; + margin-top: -40px; + color: gray; +} +#hobbies ul { + display: grid; + grid-template-columns: none; + margin-left: 1%; + margin-top: 4%; +} + +#experiences h3, +#education h3 { + height: 340px; + width: 120px; + border-right: 1px solid black; + font-style: italic; +} +#hobbies h3 { + height: 340px; + width: 117px; + border-right: 1px solid black; + font-style: italic; +} + +#contacts { + display: inline-block; + width: 100%; +} +.contacts { + flex: auto; + display: flex; + flex-direction: inherit; + justify-content: space-evenly; +} +.contact-email { + color: red; +} + +#contact { + display: flex; + width: 80%; + margin: 0 auto; +} + +#contact h3 { + display: none; +} + +dt, +dd { + display: none; +} + +.contact-email { + background: url(../images/email.png); + background-repeat: no-repeat; + background-size: 210px; + width: 170px; + height: 170px; +} + +.contact-facebook { + background: url("../images/facebook.png"); + background-repeat: no-repeat; + background-size: cover; + width: 149px; + height: 170px; +} +.contact-github { + background: url(../images/github.png); + background-repeat: no-repeat; + background-size: 176px; + width: 191px; + height: 170px; +} +.contact-phone { + background: url(../images/phone.png); + background-repeat: no-repeat; + background-size: 164px; + width: 174px; + height: 170px; +} + +.experience-date-separator { + color: darkcyan; +} + +.skills-primary [data-skill="5"]::after { + content: "\2605\2605\2605"; + color: white; + margin-left: 26%; + font-size: 26px; +} + +.skills-primary [data-skill="3"]::after { + content: "\2605\2605"; + color: white; + margin-left: 38%; + font-size: 26px; +} + +.skills-primary [data-skill="1"]::after { + content: "\2605"; + color: white; + margin-left: 40%; + font-size: 26px; +} + +.skills-secondary [data-skill="9"]::after { + content: "\2605\2605\2605\2605\2605"; + color: white; + margin-left: 20%; + font-size: 18px; +} + +.skills-secondary [data-skill="5"]::after { + content: "\2605\2605\2605"; + color: white; + margin-left: 36%; + font-size: 20px; +} + +.skills-secondary [data-skill="7"]::after { + content: "\2605\2605\2605\2605"; + color: white; + margin-left: 20%; + font-size: 20px; +} From b8d4717a463dbccf6b6bae07ae98f7fa55c1f888 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Tue, 6 Dec 2022 15:41:52 +0200 Subject: [PATCH 02/20] added media query --- .../public/style1/index.html | 1 + .../public/style1/mob.style1.css | 284 ++++++++---------- .../public/style1/style1.css | 2 + 3 files changed, 135 insertions(+), 152 deletions(-) diff --git a/04_Challenges/cv-styling-master/public/style1/index.html b/04_Challenges/cv-styling-master/public/style1/index.html index b6ee55cd..7dd1a767 100644 --- a/04_Challenges/cv-styling-master/public/style1/index.html +++ b/04_Challenges/cv-styling-master/public/style1/index.html @@ -12,6 +12,7 @@ JStudent | CV + diff --git a/04_Challenges/cv-styling-master/public/style1/mob.style1.css b/04_Challenges/cv-styling-master/public/style1/mob.style1.css index d68f5df3..e34368f7 100644 --- a/04_Challenges/cv-styling-master/public/style1/mob.style1.css +++ b/04_Challenges/cv-styling-master/public/style1/mob.style1.css @@ -1,194 +1,174 @@ - -header{ - background-color: rgb(168, 168, 168); -padding:20px; - -} -header > div{ - color:red; - display: flex; - - -} - - -hgroup{ - color: red; - margin-left:10%; - align-items: center; - margin-top: 40px; - } - h2{ - margin-left: 45px; - } - hgroup h3{ - color: red; - } - img{ - margin-top: 20px; - - } - - #contact{ - - - width: 35%; - background-color: red; +@media (max-width: 810px) { + .contacts { + margin-top: 1600px; + margin-left: -400px; position: absolute; - top: 45px; - right: 10% + width: 400px; + } } +header { + background-color: rgb(168, 168, 168); + padding: 20px; +} +header > div { + color: red; + display: flex; +} -.content { - width: 80%; - grid-template-columns: 1fr 1fr; - grid-gap: 25px; - display: grid; - margin: 0 auto; +hgroup { + color: red; + margin-left: 10%; + align-items: center; + margin-top: 40px; +} +h2 { + margin-left: 45px; +} +hgroup h3 { + color: red; +} +img { + margin-top: 20px; } - -h3::before { - display: block; - content: ''; - position: absolute; - height: 1px; - width: 50%; - margin-left: -30px; - background-color:rgba(128, 128, 128, 0.52); - margin-top: 28px; +#contact { + width: 35%; + background-color: red; + position: absolute; + top: 45px; + right: 10%; } -h3::after{ - height: 25px; - position: absolute; - content: ''; - display: block; - width: 25px; - border-radius: 50%; - background: red; - margin-top: -25px; - margin-left: -29px; +.content { + width: 80%; + grid-template-columns: 1fr 1fr; + grid-gap: 25px; + display: grid; + margin: 0 auto; +} +h3::before { + display: block; + content: ""; + position: absolute; + height: 1px; + width: 50%; + margin-left: -30px; + background-color: rgba(128, 128, 128, 0.52); + margin-top: 28px; +} + +h3::after { + height: 25px; + position: absolute; + content: ""; + display: block; + width: 25px; + border-radius: 50%; + background: red; + margin-top: -25px; + margin-left: -29px; } dl { - margin: 0; - display: grid; - grid-template-columns: 30% 70%; - height: 28px; + margin: 0; + display: grid; + grid-template-columns: 30% 70%; + height: 28px; } dt { - background-color: red; + background-color: red; } -dd{ - background-color: black; +dd { + background-color: black; } -.experience-type{ - color:red; +.experience-type { + color: red; } -.experience-institution{ - color: rgb(233, 105, 105) ; - +.experience-institution { + color: rgb(233, 105, 105); } -.experience-details{ - color: grey; - margin-top: -19px; +.experience-details { + color: grey; + margin-top: -19px; } -.experience-date-separator{ - color:red; +.experience-date-separator { + color: red; } -.experience-institution::before{ - content: '@'; - color:red; - +.experience-institution::before { + content: "@"; + color: red; } - .skills-primary::before{ - content: "Main"; -color:black; -font-weight: bold; +.skills-primary::before { + content: "Main"; + color: black; + font-weight: bold; } -.skills-secondary::before{ - content: "Other"; - color:black; - font-weight: bold; +.skills-secondary::before { + content: "Other"; + color: black; + font-weight: bold; } .skill { - - background-color: rgb(206 206 206); - padding:2%; -margin:1px; - display: flex; - - - + background-color: rgb(206 206 206); + padding: 2%; + margin: 1px; + display: flex; } -.skills-primary [data-skill="5"] span{ - - color: white; - width: 50%; - background-color: red; - padding: 4px; - margin: -2px; - +.skills-primary [data-skill="5"] span { + color: white; + width: 50%; + background-color: red; + padding: 4px; + margin: -2px; } -.skills-primary [data-skill="3"] span{ - color: white; - width: 30%; - background-color: red; - padding: 4px; - margin: -2px; +.skills-primary [data-skill="3"] span { + color: white; + width: 30%; + background-color: red; + padding: 4px; + margin: -2px; } -.skills-primary [data-skill="1"] span{ - color: white; - width: 10%; - background-color: red; - padding: 4px; - margin: -2px; +.skills-primary [data-skill="1"] span { + color: white; + width: 10%; + background-color: red; + padding: 4px; + margin: -2px; } -.skills-secondary [data-skill="9"] span - -{ - color: white; - width: 90%; - background-color: rgb(255 0 0 / 45%); - padding: 4px; - margin: -2px; - +.skills-secondary [data-skill="9"] span { + color: white; + width: 90%; + background-color: rgb(255 0 0 / 45%); + padding: 4px; + margin: -2px; } -.skills-secondary [data-skill="5"] span - -{ - color: white; - width: 50%; - background-color: rgb(255 0 0 / 45%); - padding: 4px; - margin: -2px; - +.skills-secondary [data-skill="5"] span { + color: white; + width: 50%; + background-color: rgb(255 0 0 / 45%); + padding: 4px; + margin: -2px; } -.skills-secondary [data-skill="7"] span - -{ - color: white; - width: 70%; - background-color:rgb(255 0 0 / 45%); - padding: 4px; - margin: -2px; - - +.skills-secondary [data-skill="7"] span { + color: white; + width: 70%; + background-color: rgb(255 0 0 / 45%); + padding: 4px; + margin: -2px; +} +body { + margin: 0% 10%; } -body{ - margin:0% 10%; -} \ No newline at end of file diff --git a/04_Challenges/cv-styling-master/public/style1/style1.css b/04_Challenges/cv-styling-master/public/style1/style1.css index d68f5df3..0f7f2320 100644 --- a/04_Challenges/cv-styling-master/public/style1/style1.css +++ b/04_Challenges/cv-styling-master/public/style1/style1.css @@ -2,12 +2,14 @@ header{ background-color: rgb(168, 168, 168); padding:20px; + } header > div{ color:red; display: flex; + } From 65688f35da308108205783a114d2ac5ce022529c Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Tue, 6 Dec 2022 23:55:12 +0200 Subject: [PATCH 03/20] adding info into style1 & style 2 --- .../public/style1/index.html | 12 +- .../public/style2/index.html | 19 +- .../public/style2/mob.style2.css | 233 ++++++++++++++++++ 3 files changed, 251 insertions(+), 13 deletions(-) diff --git a/04_Challenges/cv-styling-master/public/style1/index.html b/04_Challenges/cv-styling-master/public/style1/index.html index 7dd1a767..839f1ca2 100644 --- a/04_Challenges/cv-styling-master/public/style1/index.html +++ b/04_Challenges/cv-styling-master/public/style1/index.html @@ -184,23 +184,27 @@

Hobbies

Email
- student@codi.tech + ahmadd.l.ahmadd1998@gmail.com
Skype
-
first-last
+
Ahmad-AlAhmad
Phone/Whatsapp
- +9613123123 + +96171378244
Github
- UserName + AhmadLAmad
diff --git a/04_Challenges/cv-styling-master/public/style2/index.html b/04_Challenges/cv-styling-master/public/style2/index.html index 2c2efa51..8438a62a 100644 --- a/04_Challenges/cv-styling-master/public/style2/index.html +++ b/04_Challenges/cv-styling-master/public/style2/index.html @@ -16,6 +16,7 @@ JStudent | CV + @@ -74,8 +75,8 @@

Competencies

Experiences

- Man2ouche Seller - Snack Edouard + frontend developer + freelance

Paris @@ -98,8 +99,8 @@

- Man2ouche Seller - Snack Edouard + full stack web developer + coditech

Paris @@ -149,8 +150,8 @@

- Man2ouche Seller - Snack Edouard + lebanese university + MIS

Paris @@ -175,9 +176,9 @@

Hobbies

    -
  • Watching Youtube
  • -
  • Sleeping
  • -
  • Writing CVs
  • +
  • Coding
  • +
  • Reading
  • +
  • sport
diff --git a/04_Challenges/cv-styling-master/public/style2/mob.style2.css b/04_Challenges/cv-styling-master/public/style2/mob.style2.css index e69de29b..df934eec 100644 --- a/04_Challenges/cv-styling-master/public/style2/mob.style2.css +++ b/04_Challenges/cv-styling-master/public/style2/mob.style2.css @@ -0,0 +1,233 @@ +img { + position: absolute; + right: 8%; + top: 3%; + transform: rotate(-25deg); +} +header h2 { + display: none; +} +header { + max-width: 90%; + margin: 0 auto; + + height: 4.5rem; + border-bottom: 2px solid gray; + margin-bottom: 8rem; + display: flex; +} +#about h3 { + display: none; +} +#about p { + position: absolute; + top: 10%; + width: 60%; +} + +.content { + padding-top: 5%; + padding-left: 10%; + padding-right: 10%; +} +#competencies { + display: grid; + grid-template-columns: 120px 60%; + grid-template-rows: 50px 50px; + grid-column-gap: 10px; +} +.skills-secondary { + grid-column-start: 2; +} +.skills-secondary, +.skills-primary { + display: grid; + grid-template-columns: 1fr 1fr 1fr; + width: 60%; + grid-column-gap: 10px; + margin-top: 20px; + height: 40px; +} +.skill { + background-color: #349a9a; + display: flex; + align-items: center; + padding-left: 6px; +} +#competencies h3 { + height: 100px; + border-right: 2px solid gray; + font-style: italic; +} + +#experiences, +#education { + display: grid; + grid-template-columns: 150px 70%; + grid-template-rows: 200px 200px; + margin-top: 100px; +} + +#hobbies { + display: flex; +} +.experience:nth-child(3n) { + grid-column-start: 2; +} + +h4 { + color: darkcyan; +} +.experience-details { + float: right; + margin-top: -40px; + color: gray; +} +#hobbies ul { + display: grid; + grid-template-columns: none; + margin-left: 1%; + margin-top: 4%; +} + +#experiences h3, +#education h3 { + height: 340px; + width: 120px; + border-right: 1px solid black; + font-style: italic; +} +#hobbies h3 { + height: 340px; + width: 117px; + border-right: 1px solid black; + font-style: italic; +} + +#contacts { + display: inline-block; + width: 100%; +} +.contacts { + flex: auto; + display: flex; + flex-direction: inherit; + justify-content: space-evenly; +} +.contact-email { + color: red; +} + +#contact { + display: flex; + width: 80%; + margin: 0 auto; +} + +#contact h3 { + display: none; +} + +dt, +dd { + display: none; +} + +.contact-email { + background: url(../images/email.png); + background-repeat: no-repeat; + background-size: 210px; + width: 170px; + height: 170px; +} + +.contact-facebook { + background: url("../images/facebook.png"); + background-repeat: no-repeat; + background-size: cover; + width: 149px; + height: 170px; +} +.contact-github { + background: url(../images/github.png); + background-repeat: no-repeat; + background-size: 176px; + width: 191px; + height: 170px; +} +.contact-phone { + background: url(../images/phone.png); + background-repeat: no-repeat; + background-size: 157px; + width: 174px; + height: 170px; +} + +.experience-date-separator { + color: darkcyan; +} + +.skills-primary [data-skill="5"]::after { + content: "\2605\2605\2605"; + color: white; + margin-left: 26%; + font-size: 26px; +} + +.skills-primary [data-skill="3"]::after { + content: "\2605\2605"; + color: white; + margin-left: 38%; + font-size: 26px; +} + +.skills-primary [data-skill="1"]::after { + content: "\2605"; + color: white; + margin-left: 40%; + font-size: 26px; +} + +.skills-secondary [data-skill="9"]::after { + content: "\2605\2605\2605\2605\2605"; + color: white; + margin-left: 20%; + font-size: 18px; +} + +.skills-secondary [data-skill="5"]::after { + content: "\2605\2605\2605"; + color: white; + margin-left: 36%; + font-size: 20px; +} + +.skills-secondary [data-skill="7"]::after { + content: "\2605\2605\2605\2605"; + color: white; + margin-left: 20%; + font-size: 20px; +} +#contact { + height: 50%; + max-height: 100%; + width: 74%; + margin: 0 auto; +} + +@media only screen and (max-width: 1500px) { + #competencies { + margin-top: 13em; + } + img { + margin-top: 7em; + } + .contacts { + max-width: 100%; + + align-items: center; + } + .contact-email { + background-size: 11000%; + } +} From 1b11a6ce2669aeb6b003d7e06b96bb79c68d7b01 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Wed, 7 Dec 2022 13:04:27 +0200 Subject: [PATCH 04/20] finished step1 --- .../03_JavaScript/javascript-basics-01/Step_1.html | 13 +++++++------ .../javascript-basics-01/Step_1.html + Step_1.js | 3 +++ 2 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html + Step_1.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html b/03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html index de81630e..aa5e8844 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html @@ -1,9 +1,10 @@ - - Step 1 - - - - + + Step 1 + + + + + diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html + Step_1.js b/03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html + Step_1.js new file mode 100644 index 00000000..b4c65f5c --- /dev/null +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html + Step_1.js @@ -0,0 +1,3 @@ +var x = "Ahmad Al Ahmad"; + +alert("Hello! My Name is "+x); \ No newline at end of file From 18402f20d643046deffd5e73f1dfc4bb6464b208 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Wed, 7 Dec 2022 13:08:57 +0200 Subject: [PATCH 05/20] changed js file-name --- 03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html | 2 +- .../javascript-basics-01/{Step_1.html + Step_1.js => Step_1.js} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename 03_Exercises/03_JavaScript/javascript-basics-01/{Step_1.html + Step_1.js => Step_1.js} (100%) diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html b/03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html index aa5e8844..64a55445 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html @@ -5,6 +5,6 @@ - + diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html + Step_1.js b/03_Exercises/03_JavaScript/javascript-basics-01/Step_1.js similarity index 100% rename from 03_Exercises/03_JavaScript/javascript-basics-01/Step_1.html + Step_1.js rename to 03_Exercises/03_JavaScript/javascript-basics-01/Step_1.js From d98db136ba1c23be44b5892a1c398a99db0bf0d2 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Wed, 7 Dec 2022 16:35:00 +0200 Subject: [PATCH 06/20] finished step2 --- .../03_JavaScript/javascript-basics-01/Step_2.html | 13 +++++++------ .../03_JavaScript/javascript-basics-01/Step_2.js | 7 +++++++ .../03_JavaScript/javascript-basics-01/readme.md | 2 +- 3 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-01/Step_2.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_2.html b/03_Exercises/03_JavaScript/javascript-basics-01/Step_2.html index a2147206..baf45631 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-01/Step_2.html +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_2.html @@ -1,9 +1,10 @@ - - Step 2 - - - - + + Step 2 + + + + + diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_2.js b/03_Exercises/03_JavaScript/javascript-basics-01/Step_2.js new file mode 100644 index 00000000..e67469a7 --- /dev/null +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_2.js @@ -0,0 +1,7 @@ +let x=prompt("please enter your name:"); +let y=prompt("please enter your surname:"); +let z=prompt("please enter your city:"); +var text ="Name: "+x +"\n" +"surname: "+y +"\n" +"city: "+y; + +alert(text); + diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/readme.md b/03_Exercises/03_JavaScript/javascript-basics-01/readme.md index ecf6e197..1b19875c 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-01/readme.md +++ b/03_Exercises/03_JavaScript/javascript-basics-01/readme.md @@ -30,7 +30,7 @@ ## Step 2 : Variables 2 1. Define three variables: `name`, `surname` and `city`. -2. Show them like in the ![](Step_2.png) +2. Show them like in the ![](Step_2file.png) 3. Commit! ## Step 3 : Strings concatenation From afb0a307dc967cb1b258fa97771d44eafae5fb09 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Wed, 7 Dec 2022 22:12:08 +0200 Subject: [PATCH 07/20] finished step3 --- .../03_JavaScript/javascript-basics-01/Step_3.html | 13 +++++++------ .../03_JavaScript/javascript-basics-01/Step_3.js | 2 ++ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-01/Step_3.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_3.html b/03_Exercises/03_JavaScript/javascript-basics-01/Step_3.html index 20b2a198..21d73eaa 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-01/Step_3.html +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_3.html @@ -1,9 +1,10 @@ - - Step 3 - - - - + + Step 3 + + + + + diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_3.js b/03_Exercises/03_JavaScript/javascript-basics-01/Step_3.js new file mode 100644 index 00000000..3efd1a27 --- /dev/null +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_3.js @@ -0,0 +1,2 @@ +let x=prompt("please enter your name: "); +alert("Hello,"+ x); \ No newline at end of file From c5388c10c596e0a27f203bd1932f1b766c334970 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Thu, 8 Dec 2022 00:09:36 +0200 Subject: [PATCH 08/20] finished step4 --- .../javascript-basics-01/Step_4.html | 28 +++++++++++-------- .../javascript-basics-01/Step_4.js | 11 ++++++++ 2 files changed, 27 insertions(+), 12 deletions(-) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-01/Step_4.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_4.html b/03_Exercises/03_JavaScript/javascript-basics-01/Step_4.html index 12c89425..5ffaa47d 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-01/Step_4.html +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_4.html @@ -1,15 +1,19 @@ - - Step 4 - - - -
- - - - -
- + + Step 4 + + + +
+ + + + +
+ + diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_4.js b/03_Exercises/03_JavaScript/javascript-basics-01/Step_4.js new file mode 100644 index 00000000..c37edeac --- /dev/null +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_4.js @@ -0,0 +1,11 @@ +window.onload = function(){ + document.getElementById('validate').onclick=function() + { + x=document.getElementById("name").value; + y=document.getElementById("surname").value; + z=document.getElementById("city").value; + alert("name: "+x+"\n"+"surname: "+y+"\n"+"city: "+z); + + + } +} \ No newline at end of file From 75015fa2e80a040df152adc188e20f640a3c0bcc Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Thu, 8 Dec 2022 00:16:01 +0200 Subject: [PATCH 09/20] finished step5 --- .../javascript-basics-01/Step_5.html | 25 +++++++++++-------- .../javascript-basics-01/Step_5.js | 10 ++++++++ 2 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-01/Step_5.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_5.html b/03_Exercises/03_JavaScript/javascript-basics-01/Step_5.html index 60479f28..b192354d 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-01/Step_5.html +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_5.html @@ -1,14 +1,17 @@ - - Step 5 - - - -
-
-
- -
- + + Step 5 + + + +
+
+
+ +
+ + diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_5.js b/03_Exercises/03_JavaScript/javascript-basics-01/Step_5.js new file mode 100644 index 00000000..537058ae --- /dev/null +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_5.js @@ -0,0 +1,10 @@ +window.onload = function(){ + document.getElementById('validate').onclick=function() + { + a=document.getElementById("first_number").value; + b=document.getElementById("second_number").value; + alert("Result= "+(a*b)); + + + } +} \ No newline at end of file From ecdde905446f9daf0ab2c32699bba91071600a54 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Thu, 8 Dec 2022 00:54:54 +0200 Subject: [PATCH 10/20] finished step6 --- .../javascript-basics-01/Step_6.html | 25 +++++++++++-------- .../javascript-basics-01/Step_6.js | 10 ++++++++ 2 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-01/Step_6.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_6.html b/03_Exercises/03_JavaScript/javascript-basics-01/Step_6.html index b019dccd..b7d0bddd 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-01/Step_6.html +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_6.html @@ -1,14 +1,17 @@ - - Step 6 - - - -
-
-
- -
- + + Step 6 + + + +
+
+
+ +
+ + diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_6.js b/03_Exercises/03_JavaScript/javascript-basics-01/Step_6.js new file mode 100644 index 00000000..e8529be8 --- /dev/null +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_6.js @@ -0,0 +1,10 @@ +window.onload = function(){ + document.getElementById('validate').onclick=function() + { + a=document.getElementById("first_number").value; + b=document.getElementById("second_number").value; + alert("Result= "+(a%b)); + + + } +} \ No newline at end of file From 7afab1f580d364795a871f808bc92c172178870c Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Thu, 8 Dec 2022 09:36:09 +0200 Subject: [PATCH 11/20] finished step7 --- .../javascript-basics-01/Step_7.html | 25 +++++++++++-------- .../javascript-basics-01/Step_7.js | 13 ++++++++++ 2 files changed, 27 insertions(+), 11 deletions(-) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-01/Step_7.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_7.html b/03_Exercises/03_JavaScript/javascript-basics-01/Step_7.html index 05ff5834..5cefc979 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-01/Step_7.html +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_7.html @@ -1,14 +1,17 @@ - - Step 7 - - - -
-
-
- -
- + + Step 7 + + + +
+
+
+ +
+ + diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_7.js b/03_Exercises/03_JavaScript/javascript-basics-01/Step_7.js new file mode 100644 index 00000000..c0d2590b --- /dev/null +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_7.js @@ -0,0 +1,13 @@ +window.onload = function(){ + document.getElementById('validate').onclick=function() + { + a=document.getElementById("shoe_size").value; + b=document.getElementById("year").value; + + alert("Shoe size: "+((a*5)+5)*50 +"\n"+ "Birth year: "+((2022-b)+1766)); + + + + + } +} \ No newline at end of file From 9569e83d3cc9dad9e5d024b07c67a0833eb5115b Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Thu, 8 Dec 2022 09:46:32 +0200 Subject: [PATCH 12/20] finished step8 --- .../javascript-basics-01/Step_8.html | 22 ++++++++++--------- .../javascript-basics-01/Step_8.js | 15 +++++++++++++ 2 files changed, 27 insertions(+), 10 deletions(-) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-01/Step_8.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_8.html b/03_Exercises/03_JavaScript/javascript-basics-01/Step_8.html index 75804e8b..a2d94d17 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-01/Step_8.html +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_8.html @@ -1,13 +1,15 @@ - - Step 8 - - - -
-
- -
- + + Step 8 + + + +
+
+ +
+ + diff --git a/03_Exercises/03_JavaScript/javascript-basics-01/Step_8.js b/03_Exercises/03_JavaScript/javascript-basics-01/Step_8.js new file mode 100644 index 00000000..3735722a --- /dev/null +++ b/03_Exercises/03_JavaScript/javascript-basics-01/Step_8.js @@ -0,0 +1,15 @@ +window.onload = function(){ + document.getElementById('validate').onclick=function() + { + a=document.getElementById("age").value; + if(a>18) + { + alert("You are over 18") + } + else + { + alert("you are under 18") + } + } + +} \ No newline at end of file From 94303c4bd595503607037722837020aca6619a23 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Thu, 8 Dec 2022 11:28:48 +0200 Subject: [PATCH 13/20] finihed step1 --- .../03_JavaScript/javascript-basics-02/Step_1.js | 11 +++++++++++ .../03_JavaScript/javascript-basics-02/readme.md | 1 - .../javascript-basics-02/step 1/index.html | 5 +++-- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-02/Step_1.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/Step_1.js b/03_Exercises/03_JavaScript/javascript-basics-02/Step_1.js new file mode 100644 index 00000000..eb55633e --- /dev/null +++ b/03_Exercises/03_JavaScript/javascript-basics-02/Step_1.js @@ -0,0 +1,11 @@ + +function mouseOver(){ + + +document.querySelector("#image1").style.marginLeft="40%"; +} +function mouseOut(){ + + + document.querySelector("#image1").style.margin="0px"; + } \ No newline at end of file diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/readme.md b/03_Exercises/03_JavaScript/javascript-basics-02/readme.md index 14de2994..e78f4692 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-02/readme.md +++ b/03_Exercises/03_JavaScript/javascript-basics-02/readme.md @@ -26,7 +26,6 @@ 2. Add an event listener to it (use `onMouseOver` or `addEventListener`) 3. Change the image when the mouse is over it 4. Commit - ## Step 2 1. Target the input (use `querySelector`) diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 1/index.html b/03_Exercises/03_JavaScript/javascript-basics-02/step 1/index.html index 5ad09a67..e22d2427 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-02/step 1/index.html +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 1/index.html @@ -1,10 +1,11 @@ - + Step 1 - + + From 59e6323fb4d453abed797b2d51bfcf7f304e8475 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Thu, 8 Dec 2022 11:31:43 +0200 Subject: [PATCH 14/20] moved js file to inside folder step1 --- .../{ => step 1}/Step_1.js | 0 .../javascript-basics-02/step 1/index.html | 9 +++++++-- .../javascript-basics-02/step 2/Step_2.js | 0 .../javascript-basics-02/step 2/index.html | 19 ++++++++++--------- 4 files changed, 17 insertions(+), 11 deletions(-) rename 03_Exercises/03_JavaScript/javascript-basics-02/{ => step 1}/Step_1.js (100%) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-02/step 2/Step_2.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/Step_1.js b/03_Exercises/03_JavaScript/javascript-basics-02/step 1/Step_1.js similarity index 100% rename from 03_Exercises/03_JavaScript/javascript-basics-02/Step_1.js rename to 03_Exercises/03_JavaScript/javascript-basics-02/step 1/Step_1.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 1/index.html b/03_Exercises/03_JavaScript/javascript-basics-02/step 1/index.html index e22d2427..27317123 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-02/step 1/index.html +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 1/index.html @@ -5,7 +5,12 @@ Step 1 - - + + diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 2/Step_2.js b/03_Exercises/03_JavaScript/javascript-basics-02/step 2/Step_2.js new file mode 100644 index 00000000..e69de29b diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 2/index.html b/03_Exercises/03_JavaScript/javascript-basics-02/step 2/index.html index cf257909..0d69656a 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-02/step 2/index.html +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 2/index.html @@ -1,12 +1,13 @@ - - - Step 2 - - -
- -
- + + + Step 2 + + +
+ +
+ From 6905c19c926a879dfa60addbf3ecee12fb290573 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Thu, 8 Dec 2022 13:01:03 +0200 Subject: [PATCH 15/20] finished step2 --- .../03_JavaScript/javascript-basics-02/step 2/Step_2.js | 4 ++++ .../03_JavaScript/javascript-basics-02/step 2/index.html | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 2/Step_2.js b/03_Exercises/03_JavaScript/javascript-basics-02/step 2/Step_2.js index e69de29b..189dca0c 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-02/step 2/Step_2.js +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 2/Step_2.js @@ -0,0 +1,4 @@ +function myfunction() { + document.querySelector("#name").onblur + alert("thank you for participating!"); +} \ No newline at end of file diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 2/index.html b/03_Exercises/03_JavaScript/javascript-basics-02/step 2/index.html index 0d69656a..22d026f9 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-02/step 2/index.html +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 2/index.html @@ -7,7 +7,8 @@
+ >
+ From fc3001a3c9f6d115016aca70e1292eb161a46fb6 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Thu, 8 Dec 2022 17:02:05 +0200 Subject: [PATCH 16/20] finished step3 --- .../javascript-basics-02/step 3/Step_3.js | 5 ++++ .../javascript-basics-02/step 3/index.html | 24 +++++++++++-------- 2 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-02/step 3/Step_3.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 3/Step_3.js b/03_Exercises/03_JavaScript/javascript-basics-02/step 3/Step_3.js new file mode 100644 index 00000000..02078ccb --- /dev/null +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 3/Step_3.js @@ -0,0 +1,5 @@ +function input(event){ + event.preventDefault() + var x = document.getElementById("name").value; + document.getElementById("first").innerHTML = x ; +} diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 3/index.html b/03_Exercises/03_JavaScript/javascript-basics-02/step 3/index.html index 308c0b89..c548a18d 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-02/step 3/index.html +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 3/index.html @@ -1,12 +1,16 @@ - + - - - Step 3 - - -
- -
- + + + Step 3 + + +
+ +
+
+ + + From 0c9578baef717957940a1efb6630c2a9f5249bc3 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Fri, 9 Dec 2022 07:47:46 +0200 Subject: [PATCH 17/20] finished step4 --- .../javascript-basics-02/step 4/Step_4.js | 11 ++++++++ .../javascript-basics-02/step 4/index.html | 28 +++++++++++-------- 2 files changed, 27 insertions(+), 12 deletions(-) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-02/step 4/Step_4.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 4/Step_4.js b/03_Exercises/03_JavaScript/javascript-basics-02/step 4/Step_4.js new file mode 100644 index 00000000..e9b4ab75 --- /dev/null +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 4/Step_4.js @@ -0,0 +1,11 @@ +function myfunc(){ + const response = confirm("Are you sure you want to Reset?"); + + if (response) { + + document.getElementById("formo").reset(); + } else + { + console.log("Cancel was pressed"); + } +} diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 4/index.html b/03_Exercises/03_JavaScript/javascript-basics-02/step 4/index.html index f5086dfb..f22f6034 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-02/step 4/index.html +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 4/index.html @@ -1,15 +1,19 @@ - - - Step 4 - - -
- - - - -
- + + + Step 4 + + +
+ + + + +
+ + From 090d4efb48f174ccb2d8f160209af7417f49e1ad Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Fri, 9 Dec 2022 07:52:28 +0200 Subject: [PATCH 18/20] finished step5 --- .../javascript-basics-02/step 5/Step_5.js | 10 ++++++++++ .../javascript-basics-02/step 5/index.html | 5 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-02/step 5/Step_5.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 5/Step_5.js b/03_Exercises/03_JavaScript/javascript-basics-02/step 5/Step_5.js new file mode 100644 index 00000000..82988bfe --- /dev/null +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 5/Step_5.js @@ -0,0 +1,10 @@ +function mouseOver(){ + + + document.querySelector(".container").style.marginLeft="40%"; + } + function mouseOut(){ + + + document.querySelector(".container").style.margin="0px"; + } \ No newline at end of file diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 5/index.html b/03_Exercises/03_JavaScript/javascript-basics-02/step 5/index.html index fe14eb95..cbfe2c67 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-02/step 5/index.html +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 5/index.html @@ -1,16 +1,17 @@ - + Step 5 -
+
+ From e7d1929f8e2f6da9e749d97e848b6fa75a8e0b39 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Fri, 9 Dec 2022 07:56:56 +0200 Subject: [PATCH 19/20] finished step6 --- .../javascript-basics-02/step 6/Step_6.js | 10 ++++++++++ .../javascript-basics-02/step 6/index.html | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 03_Exercises/03_JavaScript/javascript-basics-02/step 6/Step_6.js diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 6/Step_6.js b/03_Exercises/03_JavaScript/javascript-basics-02/step 6/Step_6.js new file mode 100644 index 00000000..2da15e99 --- /dev/null +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 6/Step_6.js @@ -0,0 +1,10 @@ +function mouseOver(){ + + + document.querySelector(".first").style.marginLeft="40%"; + } +function mouseOut(){ + + + document.querySelector(".first").style.margin="0px"; + } \ No newline at end of file diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 6/index.html b/03_Exercises/03_JavaScript/javascript-basics-02/step 6/index.html index 2eecf4f9..6eda1397 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-02/step 6/index.html +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 6/index.html @@ -1,14 +1,17 @@ - + Step 6 +
+
+ From 53f98140ca0bab9d2427e81e6f32e86e6a94f9d5 Mon Sep 17 00:00:00 2001 From: AhmadLAhmad Date: Fri, 9 Dec 2022 07:58:30 +0200 Subject: [PATCH 20/20] finished step6 --- .../03_JavaScript/javascript-basics-02/step 6/Step_6.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_Exercises/03_JavaScript/javascript-basics-02/step 6/Step_6.js b/03_Exercises/03_JavaScript/javascript-basics-02/step 6/Step_6.js index 2da15e99..19230abb 100644 --- a/03_Exercises/03_JavaScript/javascript-basics-02/step 6/Step_6.js +++ b/03_Exercises/03_JavaScript/javascript-basics-02/step 6/Step_6.js @@ -7,4 +7,4 @@ function mouseOut(){ document.querySelector(".first").style.margin="0px"; - } \ No newline at end of file + }branch \ No newline at end of file