-
Notifications
You must be signed in to change notification settings - Fork 275
revision of exercises #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
8d7fc2b
revision of exercises
ElviraQDP 4f55d30
revision of exercises
ElviraQDP 15c0011
Merge branch 'checks' of https://github.com/ElviraQDP/css-tutorial-ex…
ElviraQDP 65b2cc4
test and exerises checked
ElviraQDP 2199cb9
ALe's comments added
ElviraQDP File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test and exerises checked
- Loading branch information
commit 65b2cc498318d7909ec9a6428e8aa6ac9d031795
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| .what { | ||
| width: 50px; | ||
| height: 50px; | ||
| padding-top: 10px; | ||
| padding-left: 30px; | ||
| padding-right: 190px; | ||
| padding-bottom: 50px; | ||
| /* padding: 10px 30px 50px 190px; */ | ||
| background: rgb(189, 189, 189); | ||
| background-image: url(https://assets.breatheco.de/apis/img/funny/baby.jpg); | ||
| background-position-x: 100px; | ||
| background-repeat: no-repeat; | ||
| background-size: contain; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <link rel="stylesheet" type="text/css" href="./styles.css" /> | ||
| <title> | ||
| 04 Class selector | ||
| </title> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div class="card spades">9</div> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <link rel="stylesheet" type="text/css" href="./styles.css" /> | ||
| <title> | ||
| 04.3 ID selector | ||
| </title> | ||
| </head> | ||
|
|
||
| <body> | ||
| <span>I should look like a button</span> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| #button1 { | ||
| background: #BDBDBD; | ||
| border: #5E5E5E; | ||
| border-radius: 5px; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta name="viewport" content="width=device-width" /> | ||
| <link rel="stylesheet" type="text/css" href="./styles.css" /> | ||
| <title>05 Specificity</title> | ||
| </head> | ||
| <body> | ||
| <ul> | ||
| <li>My first item of the list</li> | ||
| <li>My second item of the list</li> | ||
| <li id="thirditem">My third item of the list</li> | ||
| <li>My forth item of the list</li> | ||
| <li>My fifth item of the list</li> | ||
| </ul> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| ul li{ | ||
| background: blue; | ||
| } | ||
|
|
||
| #thirditem{ | ||
| background: yellow; | ||
| } | ||
| /****** DON NOT EDIT ANYTHING ABOVE THIS LINE ****/ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| //nothing to see here |
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta name="viewport" content="width=device-width" /> | ||
| <link rel="stylesheet" type="text/css" href="./styles.css" /> | ||
| <title>07 Very Specific Rules</title> | ||
| </head> | ||
| <body> | ||
| <h1>The learning essay</h1> | ||
| <h2>3 reasons you know you are learning</h2> | ||
| <p id="id1"> | ||
| We are going to explain in this pharagraph the 3 most comon signs that you should look into yourself to recognize if you are learning. | ||
| </p> | ||
| <ol> | ||
| <li>You are able to complete the exercises by yourself.</li> | ||
| <li>You understand what the teacher is talking about</li> | ||
| <li>Your are able to have conversations about the topic</li> | ||
| </ol> | ||
| <h2>3 reasons you know love what you are learning</h2> | ||
| <ul> | ||
| <li>Time passes fast.</li> | ||
| <li>You are anxious to finish this excercise and start the next one.</li> | ||
| <li>Is 12am and you don't want to go to sleep.</li> | ||
| </ul> | ||
| <p> | ||
| If you can't sleep, what better than watching videos of cats? | ||
| <a href="https://www.youtube.com/watch?v=WEgWMOzQ8IE">click here</a> | ||
| </p> | ||
|
|
||
| <table> | ||
| <tr> | ||
| <td>Age</td> | ||
| <td>Gender</td> | ||
| </tr> | ||
| <tr> | ||
| <td>12 years</td> | ||
| <td>Male</td> | ||
| </tr> | ||
| <tr> | ||
| <td>22 years</td> | ||
| <td>Female</td> | ||
| </tr> | ||
| <tr> | ||
| <td>11 years</td> | ||
| <td>Male</td> | ||
| </tr> | ||
| <tr> | ||
| <td>21 years</td> | ||
| <td>Male</td> | ||
| </tr> | ||
| <tr> | ||
| <td>22 years</td> | ||
| <td>Female</td> | ||
| </tr> | ||
| <tr> | ||
| <td>10 years</td> | ||
| <td>Male</td> | ||
| </tr> | ||
| <tr> | ||
| <td>13 years</td> | ||
| <td>Female</td> | ||
| </tr> | ||
| <tr> | ||
| <td>13 years</td> | ||
| <td>Male</td> | ||
| </tr> | ||
| <tr> | ||
| <td>10 years</td> | ||
| <td>Male</td> | ||
| </tr> | ||
| <tr> | ||
| <td>11 years</td> | ||
| <td>Male</td> | ||
| </tr> | ||
| <tr> | ||
| <td>11 years</td> | ||
| <td>Male</td> | ||
| </tr> | ||
| </table> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| /** Insert your code here **/ | ||
|
|
||
| /*********** READ ONLY BLOCK ****** | ||
| You CAN NOT UPDATE anything from here on, | ||
| only add lines of code on top of this lines | ||
| **/ | ||
|
|
||
| body { | ||
| color: blue; | ||
| } | ||
|
|
||
| ul li, | ||
| ol li { | ||
| color: green; | ||
| } |
This file contains hidden or bidirectional Unicode
6D50
text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta name="viewport" content="width=device-width" /> | ||
| <link rel="stylesheet" type="text/css" href="./styles.css" /> | ||
| <title>08 Rounded Image</title> | ||
| </head> | ||
|
|
||
| <body> | ||
| <img class="rounded" src="https://assets.breatheco.de/apis/img/funny/einstein.png" /> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| body { | ||
| background: #bdbdbd; | ||
| } | ||
| .rounded { | ||
| border-radius: 100%; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta name="viewport" content="width=device-width" /> | ||
| <link rel="stylesheet" type="text/css" href="./styles.css" /> | ||
| <title>09 Anchor Styles</title> | ||
| </head> | ||
|
|
||
| <body> | ||
| <a class="threeDimension" href="#">Click me</a> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
|
|
||
| .threeDimension { | ||
| display: block; | ||
| border: 1px solid; | ||
| border-color: #aaa #000 #000 #aaa; | ||
| width: 8em; | ||
| background: #fc0; | ||
| text-decoration: none; | ||
| text-align: center; | ||
| color: black; | ||
| } | ||
|
|
||
| a.threeDimension:active { | ||
| /* your code here*/ | ||
|
|
||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta name="viewport" content="width=device-width" /> | ||
| <!--your code here --> | ||
|
|
||
| <link rel="stylesheet" type="text/css" href="./styles.css" /> | ||
|
|
||
| <title>10 Your Own Font</title> | ||
| </head> | ||
| <body> | ||
| <h1 class="myTitle">My unique font</h1> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| .myTitle { | ||
| /*your code here*/ | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta name="viewport" content="width=device-width" /> | ||
| <link rel="stylesheet" type="text/css" href="./styles.css" /> | ||
| <title>11 Font Awesome</title> | ||
| </head> | ||
| <body> | ||
| <ul> | ||
| <li><i class="fa fa-camera-retro"></i> Hello</li> | ||
| </ul> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| li { | ||
| list-style: none; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta name="viewport" content="width=device-width" /> | ||
| <link rel="stylesheet" type="text/css" href="./styles.css" /> | ||
| <title>12 Relative Length EM REM</title> | ||
| </head> | ||
| <body> | ||
| <div id="my-first-div"> | ||
| <h2>First h2 heading</h2> | ||
| <h3>First h3 heading</h3> | ||
| <p>Here is some nice fake content</p> | ||
| </div> | ||
| <div id="the-second-one"> | ||
| <h2>Second h2 heading</h2> | ||
| <h3>Second h3 heading</h3> | ||
| <p>More fake content but now in the second container</p> | ||
| </div> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #my-first-div { | ||
| font-size: 15px; | ||
| } | ||
| #the-second-one { | ||
| font-size: 25px; | ||
| } | ||
|
|
||
| /* YOUR CODE BELOW THIS LINE */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta name="viewport" content="width=device-width" /> | ||
| <link rel="stylesheet" type="text/css" href="./styles.css" /> | ||
| <title>13 Anchor Like Button</title> | ||
| </head> | ||
| <body> | ||
| <a href="#" class="orange-btn">Beautiful Button</a> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| .orange-btn { | ||
| /*your code here*/ | ||
| } | ||
|
|
||
| .orange-btn:hover { | ||
| /*YOUR CODE HERE FOR THE HOVER STATE*/ | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.