Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cef86b1

Browse files
Alexandrbig1Open Code Chicago
and
Open Code Chicago
committed
Added footer
Added footer to the project and styled it Co-Authored-By: Open Code Chicago <177477938+OpenCodeChicago@users.noreply.github.com>
1 parent d9bd65d commit cef86b1

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)

AltStyle によって変換されたページ (->オリジナル) /