Skip to content

Commit 74566dd

Browse files
committed
Mades fixes and updates.
removed commented code. Better spacing and readability in style.css. Chaged ID's to match articles content.
1 parent c2c02e0 commit 74566dd

2 files changed

Lines changed: 16 additions & 7 deletions

File tree

Wireframe/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@ <h1>Wireframe</h1>
1616
</div>
1717
</header>
1818
<main>
19-
<article id="1st">
19+
<article id="readme-article">
2020
<img src="https://upload.wikimedia.org/wikipedia/commons/e/e1/README-cURL_black_trimmed.png" alt="A black screen showing text from a readme file that has been opened">
2121
<h2>Purpose of a Readme file</h2>
2222
<p>A Readme file is a file containing text that is often used to relay information to the user.
2323
</p>
2424
<a href="https://en.wikipedia.org/wiki/README">Read more</a>
2525
</article>
26-
<article id="2nd">
27-
<img src="https://cdn.prod.website-files.com/64fa82cbdeed167ebaefef84/64fa868c41d7a2600b45a4d5_606de8872932076fce79ad0f_TL5vrIkw1V7VYfqA3lvvi313PuvWyzIJtAQ4HthZnsXuYXQTC4rQhEcyq40qZaYDYpBHtnnPJ0PhnmBuJ9XRLnWMrlzZE9IXIfyvYan4Xj3woYXuTrAC7kTgydlqIADE8A26ITwb.png" alt="shetched images showing a plan for desnining a website, showing areas for an image, video player and other boxes for feature text and information." >
28-
<!-- Image from https://www.flux-academy.com/blog/20-wireframe-examples-for-web-design to help show wireframe-->
26+
27+
<article id="wireframe-article">
28+
<img src="https://cdn.prod.website-files.com/64fa82cbdeed167ebaefef84/64fa868c41d7a2600b45a4d5_606de8872932076fce79ad0f_TL5vrIkw1V7VYfqA3lvvi313PuvWyzIJtAQ4HthZnsXuYXQTC4rQhEcyq40qZaYDYpBHtnnPJ0PhnmBuJ9XRLnWMrlzZE9IXIfyvYan4Xj3woYXuTrAC7kTgydlqIADE8A26ITwb.png" alt="shetched images showing a plan for desnining a website, showing areas for an image, video player and other boxes for feature text and information." >
2929
<h2>Purpose of a Wireframe</h2>
3030
<p>A wireframe is normally an image that is used to show instructions on how a website is meant to be displayed.
3131
</p>
3232
<a href="https://en.wikipedia.org/wiki/Website_wireframe">Read more</a>
33-
</article>
34-
<article id="3rd">
33+
</article>
34+
35+
<article id="branch-article">
3536
<img src="https://docs.wavemaker.com/learn/assets/images/branching-model-121bd320dd2f5972a5f6ce2fb19a3f4e.png" alt="Connection blue balls in a straight line starting from one called Master then connection to others with lined arrow, from First is extra arrow goign up to red balls labed Bugfix then back down to third blue ball, from 2nd blue ball extra arrow goes down to two green balls labed Feature then back to last blue ball." >
36-
<!-- Image from https://docs.wavemaker.com/learn/blog/2021/09/17/git-branching-strategy/ to aid in display of Git Branch-->
3737
<h2>A branch of Git</h2>
3838
<p>A Branch in git is a copy of the main folder where there has been edits or fixes done to in a controlled manner that can then be implemented to the main folder in due time.
3939
</p>

Wireframe/style.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,27 @@ As well as useful links to learn more */
2424
--line: 1px solid;
2525
--container: 1280px;
2626
}
27+
2728
/* ====== Base Elements ======
2829
General rules for basic HTML elements in any context */
2930
body {
3031
background: var(--paper);
3132
color: var(--ink);
3233
font: var(--font);
3334
}
35+
3436
a {
3537
padding: var(--space);
3638
border: var(--line);
3739
max-width: fit-content;
3840
}
41+
3942
img,
4043
svg {
4144
width: 100%;
4245
object-fit: cover;
4346
}
47+
4448
/* ====== Site Layout ======
4549
Setting the overall rules for page regions
4650
https://www.w3.org/WAI/tutorials/page-structure/regions/
@@ -49,23 +53,27 @@ main {
4953
max-width: var(--container);
5054
margin: 0 auto calc(var(--space) * 4) auto;
5155
}
56+
5257
header {
5358
text-align:center;
5459
max-width: fit-content;
5560
margin-left: auto;
5661
margin-right: auto;
5762
}
63+
5864
h1 {
5965
text-align:center;
6066
font-size: 4em;
6167
max-width: fit-content;
6268
font-weight: bold;
6369
font-family: 'Times New Roman', Times, serif;
6470
}
71+
6572
#top-comment {
6673
text-align:center;
6774
margin-bottom: 20px;
6875
}
76+
6977
footer {
7078
position: fixed;
7179
bottom: 0;
@@ -75,6 +83,7 @@ footer {
7583
background-color: rgb(28, 77, 127);
7684
width:100%
7785
}
86+
7887
/* ====== Articles Grid Layout ====
7988
Setting the rules for how articles are placed in the main element.
8089
Inspect this in Devtools and click the "grid" button in the Elements view

0 commit comments

Comments
 (0)