Skip to content

Commit 4094ab6

Browse files
committed
Completed Working With Colors
1 parent e803c2b commit 4094ab6

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

myWork/03-CSS-Fundamentals/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</head>
88

99
<body>
10-
<header>
10+
<header class="main-header">
1111
<h1>📘 The Code Magazine</h1>
1212

1313
<nav>
@@ -104,7 +104,7 @@ <h3>Why should you learn HTML?</h3>
104104
<p>Hopefully you learned something new here. See you next time!</p>
105105
</article>
106106

107-
<aside>
107+
<aside class="related-aside">
108108
<h4>Related posts</h4>
109109
<ul class="related">
110110
<li>

myWork/03-CSS-Fundamentals/style.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ h4,
55
p,
66
li {
77
font-family: sans-serif;
8+
color: #444444;
9+
}
10+
11+
h1,
12+
h2,
13+
h3 {
14+
color: #1098ad;
815
}
916

1017
h1 {
@@ -53,3 +60,13 @@ li {
5360
.related {
5461
list-style: none;
5562
}
63+
64+
.main-header {
65+
background-color: #f7f7f7;
66+
}
67+
68+
.related-aside {
69+
background-color: #f7f7f7;
70+
border-top: 5px solid #1098ad;
71+
border-bottom: 5px solid #1098ad;
72+
}

0 commit comments

Comments
 (0)