Skip to content
Draft
10 changes: 5 additions & 5 deletions Wireframe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ There are some provided HTML and CSS files you can use to get started. You can u

<!--{{<objectives>}}>-->

- [ ] Use semantic HTML tags to structure the webpage
- [ ] Create three articles, each including an image, title, summary, and a link
- [ ] Check a webpage against a wireframe layout
- [ ] Test web code using [Lighthouse](https://programming.codeyourfuture.io/guides/testing/lighthouse)
- [ ] Use version control by committing often and pushing regularly to GitHub
- [x] Use semantic HTML tags to structure the webpage
- [x] Create three articles, each including an image, title, summary, and a link
- [x] Check a webpage against a wireframe layout
- [x] Test web code using [Lighthouse](https://programming.codeyourfuture.io/guides/testing/lighthouse)
- [x] Use version control by committing often and pushing regularly to GitHub
<!--{{</objectives>}}>-->

## Acceptance Criteria
Expand Down
Binary file added Wireframe/book.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Wireframe/github-cat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 56 additions & 8 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
@@ -1,32 +1,80 @@
<!DOCTYPE html>
<html lang="en">
<title>Wireframe, Readme file and Github branches explained</title>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wireframe</title>
<link rel="stylesheet" href="style.css" />
</head>

<body>
<header>
<h1>Wireframe</h1>
<h1>Wireframe, Readme file and Github branches explained</h1>
<p>
This is the default, provided code and no changes have been made yet.
This is the header, meant to give an overview of what can be found on this page.
</p>
</header>

<main>
<table>

<tr>
<td width="100%" colspan="2">
<section>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<img src="wireframe.png" alt="a wireframe sketch of this page"/>
<h2>Wireframe</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
A wireframe is a sketch of the design of a webpage. It is helpful in order to
plan the page lay-out and usability.
</p>
<a href="">Read more</a>
<a href="./wireframe-wireframe.html">Read more</a>
</article>
</section>

</td>
</tr>
<tr>
<td class="left">

<section>
<article>
<img src="book.jpg" alt="the Gutenberg Bible is the oldest printed book" />
<h2>Readme files</h2>
<p>
This article should be on the left side of the page and discuss the usefulness of a Readme file.<br>
Readme files are designed to help a page designer figure out
what needs to be done and how they are expected to go about it.
</p>
<a href="./wireframe-readme.html">Read more</a>
</article>
</section>
</td>

<td class="right">
<section>
<article>
<img src="github-cat.png" alt="the Github logo" />
<h2>Github branches</h2>
<p>
Github branches are elements of a project on Github. Everyone working on a project should make a new branch
for any small or big change alike. They help keeping track of changes, specifically when working
on a project with several people.
</p>
<a href="./wireframe-github.html">Read more</a>
</article>
</section>
</td>
</tr>


</table>
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
The footer is where normally more information about the organisation behind the
website can be found, such as contact details/street address and who they are.
</p>
</footer>
</body>
Expand Down
29 changes: 28 additions & 1 deletion Wireframe/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ a {
max-width: fit-content;
}
img,
svg {
png {
width: 100%;
object-fit: cover;
}
Expand All @@ -49,9 +49,36 @@ main {
max-width: var(--container);
margin: 0 auto calc(var(--space) * 4) auto;
}

table {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}

td, th {
border: 1px solid #ddd;
padding: 8px;
}

tr:nth-child(even){background-color: #f2f2f2;}

tr:hover {background-color: #ddd;}

th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #04AA6D;
color: white;
}
</style>

footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
text-align: center;
}
/* ====== Articles Grid Layout ====
Expand Down