Skip to content

Commit 21feedc

Browse files
committed
Moving on to Challenge jonasschmedtmann#1
1 parent 16d5245 commit 21feedc

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

starter/03-CSS-Fundamentals/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ <h6>The Basic Language of the Web: HTML</h6>
2020
<h1>📘 The Code Magazine</h1>
2121

2222
<nav>
23+
<!-- Inheritance example -->
24+
<!-- <strong>This is the navigation</strong> -->
2325
<a href="blog.html">Blog</a>
2426
<a href="#">Challenges</a>
2527
<a href="#">Flexbox</a>

starter/03-CSS-Fundamentals/style.css

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
h1,
2-
h2,
3-
h3,
4-
h4,
5-
p,
6-
li {
7-
font-family: sans-serif;
1+
* {
2+
/* border-top: 10px solid #1098ad; */
3+
}
4+
5+
body {
86
color: #444;
7+
font-family: sans-serif;
8+
9+
border-top: 10px solid #1098ad;
910
}
1011

1112
h1,
@@ -136,7 +137,7 @@ a:active {
136137
Lowest Priority */
137138

138139
/* Resolving conflicts */
139-
#copyright {
140+
/* #copyright {
140141
color: red;
141142
}
142143
@@ -150,4 +151,15 @@ Lowest Priority */
150151
151152
footer p {
152153
color: green !important;
154+
} */
155+
156+
/* nav a:link,
157+
nav p {
158+
font-size: 18px;
159+
} */
160+
161+
nav {
162+
font-size: 18px;
153163
}
164+
/* Start Challenge #1 in CSS Fundamentals */
165+
/* If paused for long, review the difference between the body element and the universal selector - lesson in inherticance and different use cases you might be confused with */

0 commit comments

Comments
 (0)