Skip to content

Commit e62a2b5

Browse files
张欧文张欧文
authored andcommitted
finish course 031 select level
1 parent 1ee98e0 commit e62a2b5

File tree

2 files changed

+26
-6
lines changed

2 files changed

+26
-6
lines changed

starter/03-CSS-Fundamentals/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ <h4>Related posts</h4>
146146
</ul>
147147
</aside>
148148

149-
<footer id="copyright">Copyright &copy; 2027 by The Code Magazine.</footer>
149+
<footer>
150+
<p id="copyright" class="copyright text">
151+
Copyright &copy; 2027 by The Code Magazine.
152+
</p>
153+
</footer>
150154
</body>
151155
</html>

starter/03-CSS-Fundamentals/style.css

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
p {
2+
font-size: 22px;
3+
line-height: 1.5;
4+
}
5+
16
h1,
27
h2,
38
h3,
@@ -32,11 +37,6 @@ h4 {
3237
text-align: center;
3338
}
3439

35-
p {
36-
font-size: 22px;
37-
line-height: 1.5;
38-
}
39-
4040
li {
4141
font-size: 20px;
4242
}
@@ -112,3 +112,19 @@ a:active {
112112
background-color: black;
113113
font-style: italic;
114114
}
115+
116+
/* #copyright {
117+
color: orangered;
118+
} */
119+
120+
.copyright {
121+
color: blue;
122+
}
123+
124+
.text {
125+
color: yellow;
126+
}
127+
128+
footer p {
129+
color: green;
130+
}

0 commit comments

Comments
 (0)