Skip to content

Commit f26fecf

Browse files
author
Open Code Chicago
authored
Merge pull request #3 from OpenCodeChicago/alex_set_up
Added footer
2 parents bf9fa16 + cef86b1 commit f26fecf

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
<main>
2121
<div class="container">form</div>
2222
</main>
23-
<footer>this is footer</footer>
23+
<footer>
24+
<div>logo</div>
25+
<p>All rights reserver 2024 &copy; OpenCodeChicago</p>
26+
</footer>
2427
</body>
2528
</html>

styles.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,29 @@ html {
1111
overflow-x: hidden;
1212
}
1313

14+
h1,
15+
h2,
16+
h3,
17+
h4,
18+
p {
19+
margin: 0;
20+
}
21+
22+
img {
23+
max-width: 100%;
24+
height: auto;
25+
display: block;
26+
}
27+
28+
ul {
29+
list-style: none;
30+
}
31+
32+
a {
33+
text-decoration: none;
34+
color: inherit;
35+
}
36+
1437
body {
1538
background-color: #e2e8f0;
1639
display: flex;
@@ -39,6 +62,10 @@ ul {
3962
gap: 1.6rem;
4063
}
4164

65+
a:hover {
66+
color: #f8f9fa;
67+
}
68+
4269
.container {
4370
background-color: #c5c2c2;
4471
width: 60%;

0 commit comments

Comments
 (0)