Skip to content

Commit 48fa3f2

Browse files
committed
exercises completed
1 parent b79b1b6 commit 48fa3f2

File tree

2 files changed

+29
-4
lines changed

2 files changed

+29
-4
lines changed

css/exercises/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
<body>
1010
<script src="script.js"></script>
1111
<!-- You do not need to do anything with script.js right now! Later, we will learn how to add JavaScript to websites! --->
12-
<h1>My Very Cool Web Page</h1>
13-
<h2>Why this Website is Very Cool</h2>
14-
<ol>
12+
<h1 class="center">My Very Cool Web Page</h1>
13+
<h2 class="center">Why this Website is Very Cool</h2>
14+
<ol id="list">
1515
<li>I made it!</li>
1616
<li>This website is colorful!</li>
1717
</ol>
18-
<h2 id="cool-text">Why I love Web Development</h2>
18+
<h2 class="center" id="cool-text">Why I love Web Development</h2>
1919
<p>Web Development is a very cool skill that I love learning!</p>
2020
<p>I love making websites because all I have to do is reload the page to see the changes I have made!</p>
2121
</body>

css/exercises/styles.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,26 @@
11
/* Start adding your styling below! */
2+
body{
3+
background-color: yellow;
4+
margin: 40;
5+
6+
}
7+
8+
p {
9+
color: green;
10+
}
11+
12+
h1 {
13+
font-size: 36px;
14+
}
15+
16+
.center {
17+
text-align: center;
18+
}
19+
20+
#cool-text {
21+
color:blue;
22+
}
23+
24+
#list {
25+
color: navy;
26+
}

0 commit comments

Comments
 (0)