Skip to content

Commit b033e62

Browse files
committed
added links and fix footer and centre header
1 parent 2242ee5 commit b033e62

2 files changed

Lines changed: 15 additions & 10 deletions

File tree

Wireframe/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h2>README</h2>
2121
README is a guidebook for a project. Imagine you get a new toy, and it comes with a small booklet that explains what the toy is, how to use it, and how to take care of it.
2222
A README file does the same for a project, it tells people what the project is about, how to use it, and any important details they need to know.
2323
</p>
24-
<a href="">Read more</a>
24+
<a href="https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes">Read more</a>
2525
</article>
2626
<article>
2727
<img src="placeholder.svg" alt="" />
@@ -30,7 +30,7 @@ <h2>Wireframe</h2>
3030
A Wireframe is like a blueprint for a website. Imagine you're drawing a plan for a house before building it. You sketch where the rooms, doors, and windows will go, but you don't add colors,
3131
furniture, or decorations yet. <br/> A <em>Wireframe</em> does the same for a website, it shows where pictures, buttons, and texts will go, all the while doesn't worry about making it look pretty yet.
3232
</p>
33-
<a href="">Read more</a>
33+
<a href="https://www.coursera.org/gb/articles/wireframe">Read more</a>
3434
</article>
3535
<article>
3636
<img src="placeholder.svg" alt="" />
@@ -39,7 +39,7 @@ <h2>Git</h2>
3939
Git is like a magic notebook for your project. It's similar to when you're drawing a picture, and every time you make a change, the notebook saves a copy of your work. If you make a mistake, you can go back to an earlier
4040
version and fix it. <br/> <em>Git</em> does the same for your code, it keeps track of all the changes you make so you can go back if something goes wrong.
4141
</p>
42-
<a href="">Read more</a>
42+
<a href="https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F">Read more</a>
4343
</article>
4444
</main>
4545
<footer>

Wireframe/style.css

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,22 @@ main {
4949
max-width: var(--container);
5050
margin: 0 auto calc(var(--space) * 4) auto;
5151
}
52+
5253
footer {
53-
/* position: fixed; */
54+
position: fixed;
5455
bottom: 0;
55-
text-align: center;
56-
display: flex;
57-
justify-content: center;
58-
padding: 5px;
59-
background-color: #f2f4f7;
60-
color: #1b1919;
6156
}
57+
58+
6259
/* ====== Articles Grid Layout ====
6360
Setting the rules for how articles are placed in the main element.
6461
Inspect this in Devtools and click the "grid" button in the Elements view
6562
Play with the options that come up.
6663
https://developer.chrome.com/docs/devtools/css/grid
6764
https://gridbyexample.com/learn/
6865
*/
66+
67+
6968
main {
7069
display: grid;
7170
grid-template-columns: 1fr 1fr;
@@ -74,11 +73,13 @@ main {
7473
grid-column: span 2;
7574
}
7675
}
76+
7777
/* ====== Article Layout ======
7878
Setting the rules for how elements are placed in the article.
7979
Now laying out just the INSIDE of the repeated card/article design.
8080
Keeping things orderly and separate is the key to good, simple CSS.
8181
*/
82+
8283
article {
8384
border: var(--line);
8485
padding-bottom: var(--space);
@@ -92,3 +93,7 @@ article {
9293
grid-column: span 3;
9394
}
9495
}
96+
97+
header {
98+
text-align: center;
99+
}

0 commit comments

Comments
 (0)