Skip to content

Commit 874f846

Browse files
committed
final commit
1 parent c41d70c commit 874f846

3 files changed

Lines changed: 30 additions & 15 deletions

File tree

Wireframe/index.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,10 @@
1212
<header>
1313
<h1>Wireframe</h1>
1414
<p>
15-
This page will show:
15+
This page will show you the purpose of README file, the purpose of
16+
Wireframe and what is branch in Git. It will include images and links to read more about each topic.
1617
</p>
17-
<ul>
18-
<li>Purpose of README file</li>
19-
<li>Purpose of Wireframe</li>
20-
<li>What is branch in Git</li>
21-
</ul>
18+
2219
</header>
2320
<main>
2421
<article>
@@ -35,7 +32,7 @@ <h2>
3532
<a href="https://en.wikipedia.org/wiki/README">Read more</a>
3633
</article>
3734
<article>
38-
<img src="wireframe.png" alt="an image showing a hand drawn sketch of what a wireframe looks like" />
35+
<img src="wireframe.jpg" alt="an image showing a hand drawn sketch of what a wireframe looks like" class="wireframe-image"/>
3936
<h2>What is a Wireframe?</h2>
4037
<p>
4138
A wireframe is a visual guide that represents the skeletal framework of a website or application.
@@ -44,14 +41,16 @@ <h2>What is a Wireframe?</h2>
4441
<a href="https://en.wikipedia.org/wiki/Wireframe">Read more</a>
4542
</article>
4643
<article>
47-
<img src="branch-image.jpg" alt="an image showing a diagram of a Git branch" />
44+
<img src="branch-image.jpg" alt="an image showing a diagram of a Git branch" class="article-image" />
4845
<h2>What is a Branch in Git?</h2>
4946
<p>
5047
A branch in Git is a lightweight movable pointer to a commit.
5148
It allows you to diverge from the mainline of development and work on features, experiments, or bug fixes
5249
without affecting the main codebase.
5350
</p>
54-
<a href="https://en.wikipedia.org/wiki/Git_branch">Read more</a>
51+
<a
52+
href="https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell#:~:text=A%20branch%20in%20Git%20is,Note">Read
53+
more</a>
5554
</article>
5655
</main>
5756
<footer>

Wireframe/style.css

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,27 @@ As well as useful links to learn more */
2525
--container: 1280px;
2626
}
2727

28-
General rules for basic HTML elements in any context */
29-
body {
28+
General rules for basic HTML elements in any context */ body {
3029
background: var(--paper);
3130
color: var(--ink);
3231
font: var(--font);
3332
}
33+
3434
a {
3535
padding: var(--space);
3636
border: var(--line);
3737
max-width: fit-content;
38+
max-height: fit-content;
3839
}
40+
3941
img,
4042
svg {
4143
width: 100%;
44+
height: 250px;
4245
object-fit: cover;
46+
4347
}
48+
4449
/* ====== Site Layout ======
4550
Setting the overall rules for page regions
4651
https://www.w3.org/WAI/tutorials/page-structure/regions/
@@ -49,6 +54,7 @@ main {
4954
max-width: var(--container);
5055
margin: 0 auto calc(var(--space) * 4) auto;
5156
}
57+
5258
footer {
5359
background-color: black;
5460
color: white;
@@ -71,10 +77,12 @@ main {
7177
display: grid;
7278
grid-template-columns: 1fr 1fr;
7379
gap: var(--space);
74-
> *:first-child {
80+
81+
>*:first-child {
7582
grid-column: span 2;
7683
}
7784
}
85+
7886
/* ====== Article Layout ======
7987
Setting the rules for how elements are placed in the article.
8088
Now laying out just the INSIDE of the repeated card/article design.
@@ -86,10 +94,18 @@ article {
8694
text-align: left;
8795
display: grid;
8896
grid-template-columns: var(--space) 1fr var(--space);
89-
> * {
97+
98+
>* {
9099
grid-column: 2/3;
91100
}
92-
> img {
101+
102+
>img {
93103
grid-column: span 3;
104+
94105
}
95-
}
106+
}
107+
108+
header {
109+
text-align: center;
110+
padding: var(--space);
111+
}

0 commit comments

Comments
 (0)