diff --git a/.learn/resets/01-inline-styles/index.html b/.learn/resets/01-inline-styles/index.html new file mode 100644 index 00000000..75056c8e --- /dev/null +++ b/.learn/resets/01-inline-styles/index.html @@ -0,0 +1,17 @@ + + + + 01 Inline Styles + + + + + + + + + + +
Hello
My brother
+ + diff --git a/.learn/resets/02-style-tag/index.html b/.learn/resets/02-style-tag/index.html new file mode 100644 index 00000000..d88e76dd --- /dev/null +++ b/.learn/resets/02-style-tag/index.html @@ -0,0 +1 @@ + diff --git a/.learn/resets/02.1-add-a-style-tag/index.html b/.learn/resets/02.1-add-a-style-tag/index.html new file mode 100644 index 00000000..dbdd26d8 --- /dev/null +++ b/.learn/resets/02.1-add-a-style-tag/index.html @@ -0,0 +1,6 @@ + +

+ Coding is a basic literacy in the digital age, and it is important for kids to understand and be able to work with and understand the technology + around them. Having children learn to code at a young age prepares them for the future. Coding helps children with communication, creativity, + math, writing, and confidence. +

diff --git a/.learn/resets/02.2-rbga-colors/index.html b/.learn/resets/02.2-rbga-colors/index.html new file mode 100644 index 00000000..39661132 --- /dev/null +++ b/.learn/resets/02.2-rbga-colors/index.html @@ -0,0 +1,14 @@ + + + + + + + Hello! I am an anchor in red, change my color to yellow + + diff --git a/.learn/resets/02.3-your-second-style/index.html b/.learn/resets/02.3-your-second-style/index.html new file mode 100644 index 00000000..998d973a --- /dev/null +++ b/.learn/resets/02.3-your-second-style/index.html @@ -0,0 +1,11 @@ + + + + + + + Hello! My background should be blue! + + diff --git a/.learn/resets/03-separate-stylesheet/index.html b/.learn/resets/03-separate-stylesheet/index.html new file mode 100644 index 00000000..a7be7a61 --- /dev/null +++ b/.learn/resets/03-separate-stylesheet/index.html @@ -0,0 +1,9 @@ + + + + + + + My background should be blue. + + diff --git a/.learn/resets/03-separate-stylesheet/styles.css b/.learn/resets/03-separate-stylesheet/styles.css new file mode 100644 index 00000000..fb551ff2 --- /dev/null +++ b/.learn/resets/03-separate-stylesheet/styles.css @@ -0,0 +1,4 @@ +/* your styles here: + 1. Select the body tag + 2. Add the background rule equal to blue + */ diff --git a/.learn/resets/03.1-background/index.html b/.learn/resets/03.1-background/index.html new file mode 100644 index 00000000..a1227330 --- /dev/null +++ b/.learn/resets/03.1-background/index.html @@ -0,0 +1,10 @@ + + + + + 03.1 Background + + + My background should be an image with the size "contain" + + diff --git a/.learn/resets/03.1-background/styles.css b/.learn/resets/03.1-background/styles.css new file mode 100644 index 00000000..afdf956f --- /dev/null +++ b/.learn/resets/03.1-background/styles.css @@ -0,0 +1,5 @@ +body { + background-image: url(https://4geeksacademy.github.io/exercise-assets/img/bg/small-mosaic.jpg); + background-size: cover; + background-repeat: no-repeat; +} diff --git a/.learn/resets/04-list-styling/index.html b/.learn/resets/04-list-styling/index.html new file mode 100644 index 00000000..2eb502ea --- /dev/null +++ b/.learn/resets/04-list-styling/index.html @@ -0,0 +1,43 @@ + + + + + + + + 04 List styling + + + +
+

Your favorite drinks

+

Coca Cola drinks

+
    +
  1. Coca Cola
  2. +
  3. Dr. Pepper
  4. +
  5. Fanta
  6. +
+ +

Pepsi drinks

+
    +
  1. Pepsi Cola
  2. +
  3. Mountain Dew
  4. +
  5. Gatorade
  6. +
+ +

Healthy drinks

+ + +

Web-developer drinks

+ +
+ + \ No newline at end of file diff --git a/.learn/resets/04-list-styling/styles.css b/.learn/resets/04-list-styling/styles.css new file mode 100644 index 00000000..124c5174 --- /dev/null +++ b/.learn/resets/04-list-styling/styles.css @@ -0,0 +1,14 @@ +body { + height: 100vh; + background: rgb(189, 189, 189); +} + +.container { + font-family: "Comic Sans MS", "Comic Sans", cursive; + margin: 0 auto; + width: 70vw; + box-shadow: 3px 5px 20px #312f2f; + background-color: white; + padding: 120px; + width: 300px; +} \ No newline at end of file diff --git a/.learn/resets/05-class-selector/index.html b/.learn/resets/05-class-selector/index.html new file mode 100644 index 00000000..03662721 --- /dev/null +++ b/.learn/resets/05-class-selector/index.html @@ -0,0 +1,12 @@ + + + + + 05 Class selector + + + +

Hello!

+

World!

+ + diff --git a/.learn/resets/05-class-selector/styles.css b/.learn/resets/05-class-selector/styles.css new file mode 100644 index 00000000..ffec43c5 --- /dev/null +++ b/.learn/resets/05-class-selector/styles.css @@ -0,0 +1,3 @@ +.b-blue { + background: blue; +} diff --git a/.learn/resets/05.1-combined-rules/index.html b/.learn/resets/05.1-combined-rules/index.html new file mode 100644 index 00000000..bca34a30 --- /dev/null +++ b/.learn/resets/05.1-combined-rules/index.html @@ -0,0 +1,11 @@ + + + + + 05.1 Combined Rules + + + +
Hello!
+ + diff --git a/.learn/resets/05.1-combined-rules/styles.css b/.learn/resets/05.1-combined-rules/styles.css new file mode 100644 index 00000000..6313a1bc --- /dev/null +++ b/.learn/resets/05.1-combined-rules/styles.css @@ -0,0 +1,14 @@ +.myBox { + width: 50px; + height: 50px; + padding-top: 10px; + padding-left: 30px; + padding-right: 190px; + padding-bottom: 50px; + + background: rgb(189, 189, 189); + background-image: url(https://github.com/4GeeksAcademy/css-tutorial-exercises-course/blob/3a2d1dd03f58167a5a4894155af2d3aa4d41d647/.learn/assets/baby.jpg?raw=true); + background-position-x: 100px; + background-repeat: no-repeat; + background-size: contain; +} diff --git a/.learn/resets/05.2-apply-several-classes/index.html b/.learn/resets/05.2-apply-several-classes/index.html new file mode 100644 index 00000000..3a293815 --- /dev/null +++ b/.learn/resets/05.2-apply-several-classes/index.html @@ -0,0 +1,11 @@ + + + + + 04.2 Apply several classes + + + +
9
+ + diff --git a/.learn/resets/05.2-apply-several-classes/styles.css b/.learn/resets/05.2-apply-several-classes/styles.css new file mode 100644 index 00000000..9995d367 --- /dev/null +++ b/.learn/resets/05.2-apply-several-classes/styles.css @@ -0,0 +1,25 @@ +.card { + width: 150px; + height: 240px; + border: 1px solid black; + text-align: center; + line-height: 240px; + border-radius: 5px; + font-size: 1.5rem; +} +.card:after { + font-size: 80%; + font-weight: bold; +} + +.spades, +.spades:after { + content: "♤"; + color: black; +} + +.heart, +.heart:after { + content: "♡"; + color: red; +} diff --git a/.learn/resets/05.3-id-selector/index.html b/.learn/resets/05.3-id-selector/index.html new file mode 100644 index 00000000..0acb4a27 --- /dev/null +++ b/.learn/resets/05.3-id-selector/index.html @@ -0,0 +1,13 @@ + + + + + + 05.3 ID selector + + + + + I should look like a button + + diff --git a/.learn/resets/05.3-id-selector/styles.css b/.learn/resets/05.3-id-selector/styles.css new file mode 100644 index 00000000..c6058338 --- /dev/null +++ b/.learn/resets/05.3-id-selector/styles.css @@ -0,0 +1,8 @@ +#button1 { + background-color: #4caf50; /* Green */ + color: white; + padding: 15px 32px; + text-align: center; + display: inline-block; + border-radius: 5px; +} diff --git a/.learn/resets/06-specificity/index.html b/.learn/resets/06-specificity/index.html new file mode 100644 index 00000000..e8a9b98d --- /dev/null +++ b/.learn/resets/06-specificity/index.html @@ -0,0 +1,18 @@ + + + + + + + 06 Specificity + + + + + diff --git a/.learn/resets/06-specificity/styles.css b/.learn/resets/06-specificity/styles.css new file mode 100644 index 00000000..1255fbbc --- /dev/null +++ b/.learn/resets/06-specificity/styles.css @@ -0,0 +1,8 @@ +ul li { + background: blue; +} + +li + #thirditem { + background: yellow; +} +/**** DO NOT EDIT ANYTHING ABOVE THIS LINE ****/ diff --git a/.learn/resets/07-practicing-rules/index.html b/.learn/resets/07-practicing-rules/index.html new file mode 100644 index 00000000..b2d40b06 --- /dev/null +++ b/.learn/resets/07-practicing-rules/index.html @@ -0,0 +1,34 @@ + + + + + + + 07 Practicing Rules + + + +
+

The learning essay

+

3 reasons you know you are learning

+

+ We are going to explain in this paragraph the 3 most common signs that you should look into yourself to recognize if you are learning. +

+
    +
  1. You are able to complete the exercises by yourself.
  2. +
  3. You understand what the teacher is talking about.
  4. +
  5. You are able to have conversations about the topic.
  6. +
+

3 reasons you love what you are learning

+ +

+ If you can't sleep, what's better than watching videos of cats? + click here +

+
+ + diff --git a/.learn/resets/07-practicing-rules/styles.css b/.learn/resets/07-practicing-rules/styles.css new file mode 100644 index 00000000..9a7fae86 --- /dev/null +++ b/.learn/resets/07-practicing-rules/styles.css @@ -0,0 +1 @@ +/* add your styles here */ diff --git a/.learn/resets/08-very-specific-rules/index.html b/.learn/resets/08-very-specific-rules/index.html new file mode 100644 index 00000000..3909949d --- /dev/null +++ b/.learn/resets/08-very-specific-rules/index.html @@ -0,0 +1,82 @@ + + + + + + + 08 Very Specific Rules + + +

The learning essay

+

3 reasons you know you are learning

+

+ We are going to explain in this paragraph the 3 most common signs that you should look into yourself to recognize if you are learning. +

+
    +
  1. You are able to complete the exercises by yourself.
  2. +
  3. You understand what the teacher is talking about
  4. +
  5. You are able to have conversations about the topic
  6. +
+

3 reasons you know love what you are learning

+ +

+ If you can't sleep, what better than watching videos of cats? + click here +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AgeGender
12Male
22Female
11Male
21Male
22Female
10Male
13Female
13Male
10Male
11Male
11Male
+ + diff --git a/.learn/resets/08-very-specific-rules/styles.css b/.learn/resets/08-very-specific-rules/styles.css new file mode 100644 index 00000000..164b694b --- /dev/null +++ b/.learn/resets/08-very-specific-rules/styles.css @@ -0,0 +1,15 @@ +/** Insert your code here **/ + +/********** READ-ONLY BLOCK ****** +You CANNOT UPDATE anything from here on, +only add lines of code on top of these lines +**/ + +body { + color: blue; +} + +ul li, +ol li { + color: green; +} diff --git a/.learn/resets/09-rounded-image/index.html b/.learn/resets/09-rounded-image/index.html new file mode 100644 index 00000000..52ff462d --- /dev/null +++ b/.learn/resets/09-rounded-image/index.html @@ -0,0 +1,13 @@ + + + + + + + 09 Rounded Image + + + + + + diff --git a/.learn/resets/09-rounded-image/styles.css b/.learn/resets/09-rounded-image/styles.css new file mode 100644 index 00000000..62006948 --- /dev/null +++ b/.learn/resets/09-rounded-image/styles.css @@ -0,0 +1,6 @@ +body { + background: #bdbdbd; +} +.rounded { + border-radius: 100%; +} diff --git a/.learn/resets/10-anchor-styles/index.html b/.learn/resets/10-anchor-styles/index.html new file mode 100644 index 00000000..baf7c9ba --- /dev/null +++ b/.learn/resets/10-anchor-styles/index.html @@ -0,0 +1,13 @@ + + + + + + + 10 Anchor Styles + + + + Click me + + diff --git a/.learn/resets/10-anchor-styles/styles.css b/.learn/resets/10-anchor-styles/styles.css new file mode 100644 index 00000000..895dc3d6 --- /dev/null +++ b/.learn/resets/10-anchor-styles/styles.css @@ -0,0 +1,17 @@ + +.threeDimension { + display: block; + border: 1px solid; + border-color: #aaa #000 #000 #aaa; + width: 8em; + background: #fc0; + text-decoration: none; + text-align: center; + color: black; + font-size: 22px; +} + +a.threeDimension:active { + /* your code here*/ + +} diff --git a/.learn/resets/11-your-own-font/index.html b/.learn/resets/11-your-own-font/index.html new file mode 100644 index 00000000..971a51b4 --- /dev/null +++ b/.learn/resets/11-your-own-font/index.html @@ -0,0 +1,14 @@ + + + + + + + + + 11 Your Own Font + + +

My unique font

+ + diff --git a/.learn/resets/11-your-own-font/styles.css b/.learn/resets/11-your-own-font/styles.css new file mode 100644 index 00000000..0335a322 --- /dev/null +++ b/.learn/resets/11-your-own-font/styles.css @@ -0,0 +1,3 @@ +.myTitle { + /* Add your code below this line */ +} diff --git a/.learn/resets/12-font-awesome-icons/index.html b/.learn/resets/12-font-awesome-icons/index.html new file mode 100644 index 00000000..3495c6b5 --- /dev/null +++ b/.learn/resets/12-font-awesome-icons/index.html @@ -0,0 +1,15 @@ + + + + + + + + 12 Font Awesome + + + + + diff --git a/.learn/resets/12-font-awesome-icons/styles.css b/.learn/resets/12-font-awesome-icons/styles.css new file mode 100644 index 00000000..52fe9b9c --- /dev/null +++ b/.learn/resets/12-font-awesome-icons/styles.css @@ -0,0 +1,4 @@ +li { + font-size: 2.5rem; + list-style: none; +} diff --git a/.learn/resets/13-relative-length-em-rem/index.html b/.learn/resets/13-relative-length-em-rem/index.html new file mode 100644 index 00000000..24290996 --- /dev/null +++ b/.learn/resets/13-relative-length-em-rem/index.html @@ -0,0 +1,22 @@ + + + + + + + 13 Relative Length EM REM + + +
+

First h2 heading

+

First h3 heading

+

Here is some nice fake content

+
+ +
+

Second h2 heading

+

Second h3 heading

+

More fake content but now in the second container

+
+ + diff --git a/.learn/resets/13-relative-length-em-rem/styles.css b/.learn/resets/13-relative-length-em-rem/styles.css new file mode 100644 index 00000000..bfba63b9 --- /dev/null +++ b/.learn/resets/13-relative-length-em-rem/styles.css @@ -0,0 +1,8 @@ +#my-first-div { + font-size: 15px; +} +#the-second-one { + font-size: 25px; +} + +/* YOUR CODE BELOW THIS LINE */ diff --git a/.learn/resets/14-anchor-like-button/index.html b/.learn/resets/14-anchor-like-button/index.html new file mode 100644 index 00000000..853cce76 --- /dev/null +++ b/.learn/resets/14-anchor-like-button/index.html @@ -0,0 +1,12 @@ + + + + + + + 14 Anchor Like Button + + + Beautiful Button + + diff --git a/.learn/resets/14-anchor-like-button/styles.css b/.learn/resets/14-anchor-like-button/styles.css new file mode 100644 index 00000000..76fd5b9c --- /dev/null +++ b/.learn/resets/14-anchor-like-button/styles.css @@ -0,0 +1,10 @@ +.orange-btn { + display: inline-block; + /* your code below */ + +} + +.orange-btn:hover { + /* YOUR CODE HERE FOR THE HOVER STATE */ + +} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..2ba986f6 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "chrome", + "request": "launch", + "name": "Launch Chrome against localhost", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/exercises/01-inline-styles/index.html b/exercises/01-inline-styles/index.html index 75056c8e..590621a4 100644 --- a/exercises/01-inline-styles/index.html +++ b/exercises/01-inline-styles/index.html @@ -5,7 +5,7 @@ - +
diff --git a/exercises/02-style-tag/index.html b/exercises/02-style-tag/index.html index d88e76dd..c8968991 100644 --- a/exercises/02-style-tag/index.html +++ b/exercises/02-style-tag/index.html @@ -1 +1,7 @@ + +Click me to open google.com diff --git a/exercises/02.1-add-a-style-tag/index.html b/exercises/02.1-add-a-style-tag/index.html index dbdd26d8..7b8112a1 100644 --- a/exercises/02.1-add-a-style-tag/index.html +++ b/exercises/02.1-add-a-style-tag/index.html @@ -1,4 +1,10 @@ + +

Coding is a basic literacy in the digital age, and it is important for kids to understand and be able to work with and understand the technology around them. Having children learn to code at a young age prepares them for the future. Coding helps children with communication, creativity, diff --git a/exercises/02.2-rbga-colors/index.html b/exercises/02.2-rbga-colors/index.html index 39661132..a2a88d04 100644 --- a/exercises/02.2-rbga-colors/index.html +++ b/exercises/02.2-rbga-colors/index.html @@ -4,7 +4,7 @@ diff --git a/exercises/02.3-your-second-style/index.html b/exercises/02.3-your-second-style/index.html index 998d973a..25152381 100644 --- a/exercises/02.3-your-second-style/index.html +++ b/exercises/02.3-your-second-style/index.html @@ -2,7 +2,10 @@ diff --git a/exercises/03-separate-stylesheet/styles.css b/exercises/03-separate-stylesheet/styles.css index fb551ff2..b3806094 100644 --- a/exercises/03-separate-stylesheet/styles.css +++ b/exercises/03-separate-stylesheet/styles.css @@ -2,3 +2,7 @@ 1. Select the body tag 2. Add the background rule equal to blue */ + +body { + background-color: blue; +} diff --git a/exercises/03.1-background/styles.css b/exercises/03.1-background/styles.css index afdf956f..a2c6b305 100644 --- a/exercises/03.1-background/styles.css +++ b/exercises/03.1-background/styles.css @@ -1,5 +1,5 @@ body { background-image: url(https://4geeksacademy.github.io/exercise-assets/img/bg/small-mosaic.jpg); - background-size: cover; - background-repeat: no-repeat; + background-size: contain; + background-repeat: repeat; } diff --git a/exercises/04-list-styling/index.html b/exercises/04-list-styling/index.html index 2eb502ea..7b663ff9 100644 --- a/exercises/04-list-styling/index.html +++ b/exercises/04-list-styling/index.html @@ -40,4 +40,4 @@

Web-developer drinks

- \ No newline at end of file + diff --git a/exercises/04-list-styling/styles.css b/exercises/04-list-styling/styles.css index 124c5174..c0cd286f 100644 --- a/exercises/04-list-styling/styles.css +++ b/exercises/04-list-styling/styles.css @@ -11,4 +11,20 @@ body { background-color: white; padding: 120px; width: 300px; -} \ No newline at end of file +} + +.cocacola { + list-style-type: lower-alpha; +} + +.pepsi { + list-style-type: square; +} + +.healthy { + list-style-type: armenian; +} + +.dev-drinks { + list-style-type: none; +} diff --git a/exercises/05-class-selector/index.html b/exercises/05-class-selector/index.html index 03662721..b9223582 100644 --- a/exercises/05-class-selector/index.html +++ b/exercises/05-class-selector/index.html @@ -6,7 +6,7 @@ -

Hello!

-

World!

+

Hello!

+

World!

diff --git a/exercises/05.1-combined-rules/styles.css b/exercises/05.1-combined-rules/styles.css index 6313a1bc..b5325d3d 100644 --- a/exercises/05.1-combined-rules/styles.css +++ b/exercises/05.1-combined-rules/styles.css @@ -1,14 +1,10 @@ .myBox { width: 50px; height: 50px; - padding-top: 10px; - padding-left: 30px; - padding-right: 190px; - padding-bottom: 50px; + padding: 10px 190px 50px 30px; + - background: rgb(189, 189, 189); - background-image: url(https://github.com/4GeeksAcademy/css-tutorial-exercises-course/blob/3a2d1dd03f58167a5a4894155af2d3aa4d41d647/.learn/assets/baby.jpg?raw=true); - background-position-x: 100px; - background-repeat: no-repeat; - background-size: contain; + background: rgb(189, 189, 189) + url(https://github.com/4GeeksAcademy/css-tutorial-exercises-course/blob/3a2d1dd03f58167a5a4894155af2d3aa4d41d647/.learn/assets/baby.jpg?raw=true) + no-repeat 100px / contain; } diff --git a/exercises/05.2-apply-several-classes/index.html b/exercises/05.2-apply-several-classes/index.html index 3a293815..95de441b 100644 --- a/exercises/05.2-apply-several-classes/index.html +++ b/exercises/05.2-apply-several-classes/index.html @@ -6,6 +6,6 @@ -
9
+
9
diff --git a/exercises/05.3-id-selector/index.html b/exercises/05.3-id-selector/index.html index 0acb4a27..2e7928b7 100644 --- a/exercises/05.3-id-selector/index.html +++ b/exercises/05.3-id-selector/index.html @@ -8,6 +8,6 @@ - I should look like a button + I should look like a button diff --git a/exercises/06-specificity/styles.css b/exercises/06-specificity/styles.css index 1255fbbc..d722657a 100644 --- a/exercises/06-specificity/styles.css +++ b/exercises/06-specificity/styles.css @@ -6,3 +6,7 @@ li + #thirditem { background: yellow; } /**** DO NOT EDIT ANYTHING ABOVE THIS LINE ****/ + +li + #thirditem { + background: green !important; +} diff --git a/exercises/07-practicing-rules/styles.css b/exercises/07-practicing-rules/styles.css index 9a7fae86..6f7ae389 100644 --- a/exercises/07-practicing-rules/styles.css +++ b/exercises/07-practicing-rules/styles.css @@ -1 +1,25 @@ /* add your styles here */ +body { + background: url("../../.learn/assets/background-vertical.jpg?raw=true") repeat-y; + font-family: "Times New Roman"; + padding-left: 20px; +} + +h1 { + font-family: "Courier"; + color: red; +} + +h2 { + text-decoration: underline; +} + +#id1 { + background-color: rgb(255, 255, 255, 0.2); + padding: 5px; +} + +a:hover { + color: green; + text-decoration: none; +} diff --git a/exercises/08-very-specific-rules/styles.css b/exercises/08-very-specific-rules/styles.css index 164b694b..91baa847 100644 --- a/exercises/08-very-specific-rules/styles.css +++ b/exercises/08-very-specific-rules/styles.css @@ -1,4 +1,15 @@ /** Insert your code here **/ +ul li { + color: red !important; +} + +ol li:nth-child(2) { + background-color: green !important; +} + +tr:nth-child(odd) { + background-color: yellow; +} /********** READ-ONLY BLOCK ****** You CANNOT UPDATE anything from here on, diff --git a/exercises/09-rounded-image/styles.css b/exercises/09-rounded-image/styles.css index 62006948..94e818cf 100644 --- a/exercises/09-rounded-image/styles.css +++ b/exercises/09-rounded-image/styles.css @@ -3,4 +3,8 @@ body { } .rounded { border-radius: 100%; + width: 500px; + height: 500px; + object-fit: cover; + object-position: top; } diff --git a/exercises/10-anchor-styles/styles.css b/exercises/10-anchor-styles/styles.css index 895dc3d6..afe05cf7 100644 --- a/exercises/10-anchor-styles/styles.css +++ b/exercises/10-anchor-styles/styles.css @@ -1,4 +1,3 @@ - .threeDimension { display: block; border: 1px solid; @@ -12,6 +11,5 @@ } a.threeDimension:active { - /* your code here*/ - + border-color: #000 #aaa #aaa #000; } diff --git a/exercises/11-your-own-font/index.html b/exercises/11-your-own-font/index.html index 971a51b4..5d1bc1e8 100644 --- a/exercises/11-your-own-font/index.html +++ b/exercises/11-your-own-font/index.html @@ -4,7 +4,12 @@ - + + + 11 Your Own Font diff --git a/exercises/11-your-own-font/styles.css b/exercises/11-your-own-font/styles.css index 0335a322..9936598d 100644 --- a/exercises/11-your-own-font/styles.css +++ b/exercises/11-your-own-font/styles.css @@ -1,3 +1,4 @@ .myTitle { /* Add your code below this line */ + font-family: "Open Sans"; } diff --git a/exercises/12-font-awesome-icons/index.html b/exercises/12-font-awesome-icons/index.html index 3495c6b5..4526ad72 100644 --- a/exercises/12-font-awesome-icons/index.html +++ b/exercises/12-font-awesome-icons/index.html @@ -10,6 +10,8 @@ diff --git a/exercises/13-relative-length-em-rem/index.html b/exercises/13-relative-length-em-rem/index.html index 24290996..4fb16d2e 100644 --- a/exercises/13-relative-length-em-rem/index.html +++ b/exercises/13-relative-length-em-rem/index.html @@ -12,7 +12,7 @@

First h2 heading

First h3 heading

Here is some nice fake content

- +

Second h2 heading

Second h3 heading

diff --git a/exercises/13-relative-length-em-rem/solution.hide.css b/exercises/13-relative-length-em-rem/solution.hide.css index eeb04334..c524cf3e 100644 --- a/exercises/13-relative-length-em-rem/solution.hide.css +++ b/exercises/13-relative-length-em-rem/solution.hide.css @@ -6,10 +6,10 @@ } /* YOUR CODE BELOW THIS LINE */ -h2{ +h2 { font-size: 0.8em; } -h3{ +h3 { font-size: 0.8rem; -} \ No newline at end of file +} diff --git a/exercises/13-relative-length-em-rem/styles.css b/exercises/13-relative-length-em-rem/styles.css index bfba63b9..e692099d 100644 --- a/exercises/13-relative-length-em-rem/styles.css +++ b/exercises/13-relative-length-em-rem/styles.css @@ -6,3 +6,10 @@ } /* YOUR CODE BELOW THIS LINE */ +h2 { + font-size: 0.8em !important; +} + +h3 { + font-size: 0.8rem !important; +} diff --git a/exercises/14-anchor-like-button/styles.css b/exercises/14-anchor-like-button/styles.css index 76fd5b9c..23ec7b00 100644 --- a/exercises/14-anchor-like-button/styles.css +++ b/exercises/14-anchor-like-button/styles.css @@ -1,10 +1,15 @@ .orange-btn { display: inline-block; /* your code below */ + padding: 10px; + border-radius: 4px; + background-color: orange; + text-decoration: none; + color: white; } .orange-btn:hover { /* YOUR CODE HERE FOR THE HOVER STATE */ - + background-color: darkorange; }
Hello