Skip to content

Commit 28ca02c

Browse files
committed
Added img urls, links with descriptive texts
1 parent 17f9ddb commit 28ca02c

2 files changed

Lines changed: 58 additions & 10 deletions

File tree

Wireframe/index.html

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,52 +4,80 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Wireframe</title>
7+
<meta
8+
name="description"
9+
content="Webpage explaining the purposes of a README file, Wireframe and Git Branches."
10+
/>
711
<link rel="stylesheet" href="style.css" />
812
</head>
913
<body>
1014
<header>
1115
<h1>Wireframe</h1>
1216
<p>
13-
Webpage explaining the purposes of a README file, wireframe and a branch
14-
in Git.
17+
Webpage explaining the purposes of a README file, Wireframe and Git
18+
Branches.
1519
</p>
1620
</header>
1721
<main>
1822
<section>
1923
<article>
20-
<img src="placeholder.svg" alt="" />
24+
<img
25+
src="https://freerangestock.com/thumbnail/119557/web-developer--web-development--programmer--programming.jpg"
26+
alt="web-developer"
27+
width="200"
28+
height="350"
29+
loading="lazy"
30+
/>
2131
<h2>README file</h2>
2232
<p>
2333
A README file is a document that provides information about a
2434
project, such as its purpose, how to use it, and any other relevant
2535
details. It is usually the first thing people read to understand the
2636
project.
2737
</p>
28-
<a href="https://en.wikipedia.org/wiki/README">Read More </a>
38+
<a href="https://en.wikipedia.org/wiki/README"
39+
>Read More about README files</a
40+
>
2941
</article>
3042
</section>
3143
<section>
3244
<article>
33-
<img src="placeholder.svg" alt="" />
45+
<img
46+
src="https://freerangestock.com/thumbnail/130564/website-wireframe.jpg"
47+
alt="wireframe example"
48+
width="200"
49+
height="250"
50+
loading="lazy"
51+
/>
3452
<h2>Wireframe</h2>
3553
<p>
3654
A wireframe is a visual guide that represents the skeletal structure
3755
of a website or application. It outlines the layout, content, and
3856
functionality without the final design elements.
3957
</p>
40-
<a href="">Read more</a>
58+
<a href="https://en.wikipedia.org/wiki/Wireframe"
59+
>Read more about Wireframes</a
60+
>
4161
</article>
4262
</section>
4363
<section>
4464
<article>
45-
<img src="placeholder.svg" alt="" />
65+
<img
66+
src="https://images.unsplash.com/photo-1556075798-4825dfaaf498?q=80&w=1476&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D.jpg"
67+
alt="branches in development project"
68+
width="200"
69+
height="250"
70+
loading="lazy"
71+
/>
4672
<h2>Branch in Git</h2>
4773
<p>
4874
A branch in Git is a separate line of development that allows you to
4975
work on different features. It enables multiple developers to
5076
collaborate on a project without interfering with each other's work.
5177
</p>
52-
<a href="https://en.wikipedia.org/wiki/Git_branch">Read more</a>
78+
<a href="https://en.wikipedia.org/wiki/Branching_(version_control)"
79+
>Read more about Git branches</a
80+
>
5381
</article>
5482
</section>
5583
</main>

Wireframe/style.css

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,18 @@ body {
3131
color: var(--ink);
3232
font: var(--font);
3333
}
34+
header {
35+
text-align: center;
36+
padding: var(--space);
37+
}
3438
a {
3539
padding: var(--space);
3640
border: var(--line);
3741
max-width: fit-content;
42+
display: inline-block;
43+
margin-top: auto;
44+
margin-bottom: var(--space);
45+
3846
}
3947
img,
4048
svg {
@@ -50,9 +58,11 @@ main {
5058
margin: 0 auto calc(var(--space) * 4) auto;
5159
}
5260
footer {
53-
position: fixed;
61+
position: center;
5462
bottom: 0;
5563
text-align: center;
64+
border-top: var(--line);
65+
padding: var(--space);
5666
}
5767
/* ====== Articles Grid Layout ====
5868
Setting the rules for how articles are placed in the main element.
@@ -65,8 +75,11 @@ main {
6575
display: grid;
6676
grid-template-columns: 1fr 1fr;
6777
gap: var(--space);
78+
align-items: stretch;
79+
gap: 20px;
6880
> *:first-child {
6981
grid-column: span 2;
82+
margin-bottom: var(--space);
7083
}
7184
}
7285
/* ====== Article Layout ======
@@ -78,7 +91,9 @@ article {
7891
border: var(--line);
7992
padding-bottom: var(--space);
8093
text-align: left;
81-
display: grid;
94+
display: flex;
95+
flex-direction: column;
96+
height: 100%;
8297
grid-template-columns: var(--space) 1fr var(--space);
8398
> * {
8499
grid-column: 2/3;
@@ -87,3 +102,8 @@ article {
87102
grid-column: span 3;
88103
}
89104
}
105+
article h2,
106+
article p,
107+
article a {
108+
margin: var(--space);
109+
}

0 commit comments

Comments
 (0)