File tree Expand file tree Collapse file tree 11 files changed +105
-26
lines changed
12-Relative-Length-EM-REM
12-Relative-Length-EM-REM Expand file tree Collapse file tree 11 files changed +105
-26
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta charset ="utf-8 " />
5+ < meta name ="viewport " content ="width=device-width " />
6+ <!--your code here -->
7+
8+ < link rel ="stylesheet " type ="text/css " href ="./styles.css " />
9+
10+ < title > 10 Your Own Font</ title >
11+ </ head >
12+ < body >
13+ < h1 class ="myTitle "> My unique font</ h1 >
14+ </ body >
15+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta charset ="utf-8 " />
5+ < meta name ="viewport " content ="width=device-width " />
6+ < link rel ="stylesheet " type ="text/css " href ="./styles.css " />
7+ < title > 11 Font Awesome</ title >
8+ </ head >
9+ < body >
10+ < ul >
11+ < li > < i class ="fa fa-camera-retro "> </ i > Hello</ li >
12+ </ ul >
13+ </ body >
14+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta charset ="utf-8 " />
5+ < meta name ="viewport " content ="width=device-width " />
6+ < link rel ="stylesheet " type ="text/css " href ="./styles.css " />
7+ < title > 12 Relative Length EM REM</ title >
8+ </ head >
9+ < body >
10+ < div id ="my-first-div ">
11+ < h2 > First h2 heading</ h2 >
12+ < h3 > First h3 heading</ h3 >
13+ < p > Here is some nice fake content</ p >
14+ </ div >
15+ < div id ="the-second-one ">
16+ < h2 > Second h2 heading</ h2 >
17+ < h3 > Second h3 heading</ h3 >
18+ < p > More fake content but now in the second container</ p >
19+ </ div >
20+ </ body >
21+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta charset ="utf-8 " />
5+ < meta name ="viewport " content ="width=device-width " />
6+ < link rel ="stylesheet " type ="text/css " href ="./styles.css " />
7+ < title > 13 Anchor Like Button</ title >
8+ </ head >
9+ < body >
10+ < a href ="# " class ="orange-btn "> Beautiful Button</ a >
11+ </ body >
12+ </ html >
Original file line number Diff line number Diff line change 66 < link rel ="stylesheet " type ="text/css " href ="./styles.css " />
77 < title > 09 Anchor Styles</ title >
88 </ head >
9-
9+
1010 < body >
1111 < a class ="threeDimension " href ="# "> Click me</ a >
1212 </ body >
Original file line number Diff line number Diff line change 1-
21.threeDimension {
32 display : block;
43 border : 1px solid;
1211
1312a .threeDimension : active {
1413 /* your code here*/
15-
16- }
14+ border-color : # 000 # aaa # aaa # 000 ;
15+ }
Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< html >
3- < head >
4- < meta charset ="utf-8 " />
5- < meta name ="viewport " content ="width=device-width " />
6- <!--your code here -->
3+ < head >
4+ < meta charset ="utf-8 " />
5+ < meta name ="viewport " content ="width=device-width " />
6+ <!--your code here -->
7+ < link rel ="preconnect " href ="https://fonts.googleapis.com " />
8+ < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin />
9+ < link href ="https://fonts.googleapis.com/css2?family=Montserrat&display=swap " rel ="stylesheet " />
10+ < link rel ="stylesheet " type ="text/css " href ="./styles.css " />
711
8- < link rel ="stylesheet " type ="text/css " href ="./styles.css " />
9-
10- < title > 10 Your Own Font</ title >
11- </ head >
12- < body >
13- < h1 class ="myTitle "> My unique font</ h1 >
14- </ body >
12+ < title > 10 Your Own Font</ title >
13+ </ head >
14+ < body >
15+ < h1 class ="myTitle "> My unique font</ h1 >
16+ </ body >
1517</ html >
Original file line number Diff line number Diff line change 11.myTitle {
22 /*your code here*/
3+ font-family : "Montserrat" , sans-serif;
34}
Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< html >
3- < head >
4- < meta charset ="utf-8 " />
5- < meta name ="viewport " content ="width=device-width " />
6- < link rel ="stylesheet " type ="text/css " href ="./styles.css " />
7- < title > 11 Font Awesome</ title >
8- </ head >
9- < body >
10- < ul >
11- < li > < i class ="fa fa-camera-retro "> </ i > Hello</ li >
12- </ ul >
13- </ body >
3+ < head >
4+ < meta charset ="utf-8 " />
5+ < meta name ="viewport " content ="width=device-width " />
6+ < link rel ="stylesheet " type ="text/css " href ="./styles.css " />
7+ < link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css " />
8+ < title > 11 Font Awesome</ title >
9+ </ head >
10+ < body >
11+ < ul >
12+ < li > < i class ="fa fa-camera-retro "> </ i > Hello</ li >
13+ < li > < i class ="fa fa-angellist "> </ i > Word</ li >
14+ < li > < i class ="fa fa-ambulance "> </ i > Hey!</ li >
15+ </ ul >
16+ </ body >
1417</ html >
Original file line number Diff line number Diff line change 66}
77
88/* YOUR CODE BELOW THIS LINE */
9+ h2 {
10+ font-size : 0.8em ;
11+ }
12+ h3 {
13+ font-size : 0.8rem ;
14+ }
You can’t perform that action at this time.
0 commit comments