Skip to content

Commit 121df04

Browse files
author
adedolapo
committed
Refactor index.html for improved readability and update style.css for better layout and footer alignment
1 parent a963471 commit 121df04

2 files changed

Lines changed: 39 additions & 33 deletions

File tree

Wireframe/index.html

Lines changed: 27 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
43
<head>
54
<meta charset="UTF-8" />
65
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@@ -10,52 +9,48 @@
109

1110
<body>
1211
<header>
13-
<h1>
14-
Wireframe
15-
</h1>
16-
<p>
17-
An article about webpages and their purpose
18-
</p>
12+
<h1>Wireframe</h1>
13+
<p>An article about webpages and their purpose</p>
1914
</header>
15+
2016
<main>
2117
<article>
22-
<img src="placeholder.svg" alt="an image depicting wireframe " />
23-
24-
25-
<h2>READme</h2>
18+
<img src="placeholder.svg" alt="An image depicting a wireframe" />
19+
<h2>README</h2>
2620
<p>
27-
The purpose of a READme file is to provide information about a project, including how to instructions and tasks
28-
to be done.
21+
The purpose of a README file is to provide information about a project,
22+
including how-to instructions and tasks to be done.
2923
</p>
30-
<div>
31-
<a href="">Read more</a>
32-
</div>
24+
<a href="#">Read more</a>
3325
</article>
3426

3527
<article>
36-
<img src="placeholder.svg" alt="an image depicting wireframe " />
28+
<img src="placeholder.svg" alt="An image depicting a wireframe" />
3729
<h2>Wireframe</h2>
38-
<p>A wireframe is a visual guide that represents the skeletal framework of a website or application, outlining the
39-
layout and structure of its content and functionality.</p>
40-
41-
<a href="">Read more</a>
30+
<p>
31+
A wireframe is a visual guide that represents the skeletal framework of
32+
a website or application, outlining the layout and structure of its
33+
content and functionality.
34+
</p>
35+
<a href="#">Read more</a>
4236
</article>
4337

4438
<article>
45-
<img src="placeholder.svg" alt="an image depicting wireframe " />
46-
47-
<h2>Git branch</h2>
48-
<p>A branch in a git, is a perosnal workspace to work on tasks independently.</p>
49-
50-
<a href="">Read more</a>
39+
<img src="placeholder.svg" alt="An image depicting a wireframe" />
40+
<h2>Git Branch</h2>
41+
<p>
42+
A branch in Git is a personal workspace used to work on tasks independently.
43+
</p>
44+
<a href="#">Read more</a>
5145
</article>
5246
</main>
53-
<footer>
54-
if you have any questions follow this link to my <a
55-
href="https://www.productplan.com/glossary/wireframe/">Wireframe</a>
5647

48+
<footer>
5749
<p>
58-
Adedolapo January 2026
50+
If you have any questions, follow this link to the
51+
<a href="https://www.productplan.com/glossary/wireframe/">Wireframe glossary</a>.
5952
</p>
53+
<p>Adedolapo — January 2026</p>
6054
</footer>
61-
</body>
55+
</body>
56+
</html>

Wireframe/style.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,32 @@ https://www.w3.org/WAI/tutorials/page-structure/regions/
4848
main {
4949
max-width: var(--container);
5050
margin: 0 auto calc(var(--space) * 4) auto;
51+
padding-bottom: 80px;
5152
}
5253
header {
5354
text-align: center;
54-
width: 100%;
5555
}
56+
header p{
57+
text-align: center;
58+
}
5659
p {
5760
margin: var(--space) 0;
5861
text-align: justify;
5962
}
6063

64+
6165
footer {
6266
position: fixed;
6367
bottom: 0;
68+
width: 100%;
6469
text-align: center;
70+
71+
display: flex;
72+
flex-direction: column;
73+
align-items: center;
74+
justify-content: center;
6575
}
76+
6677
/* ====== Articles Grid Layout ====
6778
Setting the rules for how articles are placed in the main element.
6879
Inspect this in Devtools and click the "grid" button in the Elements view

0 commit comments

Comments
 (0)