File tree Expand file tree Collapse file tree 4 files changed +34
-4
lines changed
.learn/resets/12-Relative-Length-EM-REM
exercises/12-Relative-Length-EM-REM Expand file tree Collapse file tree 4 files changed +34
-4
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+ < 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+
16+ < div id ="the-second-one ">
17+ < h2 > Second h2 heading</ h2 >
18+ < h3 > Second h3 heading</ h3 >
19+ < p > More fake content but now in the second container</ p >
20+ </ div >
21+ </ body >
22+ </ html >
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ <h2>First h2 heading</h2>
1212 < h3 > First h3 heading</ h3 >
1313 < p > Here is some nice fake content</ p >
1414 </ div >
15-
15+
1616 < div id ="the-second-one ">
1717 < h2 > Second h2 heading</ h2 >
1818 < h3 > Second h3 heading</ h3 >
Original file line number Diff line number Diff line change 66}
77
88/* YOUR CODE BELOW THIS LINE */
9- h2 {
9+ h2 {
1010 font-size : 0.8em ;
1111}
1212
13- h3 {
13+ h3 {
1414 font-size : 0.8rem ;
15- }
15+ }
Original file line number Diff line number Diff line change 66}
77
88/* YOUR CODE BELOW THIS LINE */
9+
10+ h2 {
11+ font-size : 0.8em ;
12+ }
13+
14+ h3 {
15+ font-size : 0.8rem ;
16+ }
You can’t perform that action at this time.
0 commit comments