File tree Expand file tree Collapse file tree 2 files changed +55
-1
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="UTF-8 " />
5
5
< title > The Basic Language of the Web: HTML</ title >
6
+ < link rel ="stylesheet " href ="./style.css " />
6
7
</ head >
7
8
8
9
< body >
@@ -141,6 +142,9 @@ <h4>Related posts</h4>
141
142
</ ul >
142
143
</ aside >
143
144
144
- < footer > Copyright © 2027 by The Code Magazine.</ footer >
145
+ < footer >
146
+ < p > Copyright © 2027 by The Code Magazine</ p >
147
+ .
148
+ </ footer >
145
149
</ body >
146
150
</ html >
Original file line number Diff line number Diff line change
1
+ h1 ,
2
+ h2 ,
3
+ h3 ,
4
+ h4 ,
5
+ p ,
6
+ li {
7
+ font-family : sans-serif;
8
+ }
9
+
10
+ h1 {
11
+ font-size : 32px ;
12
+ line-height : 1.5 ;
13
+ text-transform : uppercase;
14
+ font-style : italic;
15
+ }
16
+
17
+ h2 {
18
+ font-size : 28px ;
19
+
20
+ line-height : 1.5 ;
21
+ text-transform : uppercase;
22
+ }
23
+
24
+ h3 {
25
+ font-size : 24px ;
26
+
27
+ line-height : 1.5 ;
28
+ text-transform : uppercase;
29
+ }
30
+
31
+ h4 {
32
+ font-size : 18px ;
33
+ line-height : 1.5 ;
34
+ text-transform : uppercase;
35
+ }
36
+
37
+ li {
38
+ font-size : 18px ;
39
+ line-height : 1.5 ;
40
+ }
41
+
42
+ p {
43
+ font-size : 22px ;
44
+ line-height : 1.5 ;
45
+ }
46
+
47
+ /* descendent selector, select paragraphs in footers and set it's font size to 16px */
48
+ footer p {
49
+ font-size : 16px ;
50
+ }
You can’t perform that action at this time.
0 commit comments