Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions Wireframe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ 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 a 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 a 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

- [ ] Semantic HTML tags are used to structure the webpage.
- [ ] The page scores 100 for Accessibility in the Lighthouse audit.
- [ ] The page header includes a title and description.
- [ ] The articles section has three unique articles, each including a title, summary, and a link.
- [ ] The page footer is fixed to the bottom of the viewport.
- [ ] The webpage is styled using a linked .css file.
- [ ] The webpage is properly committed and pushed to a branch on GitHub.
- [x] Semantic HTML tags are used to structure the webpage.
- [x] The page scores 100 for Accessibility in the Lighthouse audit.
- [x] The page header includes a title and description.
- [x] The articles section has three unique articles, each including a title, summary, and a link.
- [x] The page footer is fixed to the bottom of the viewport.
- [x] The webpage is styled using a linked .css file.
- [x] The webpage is properly committed and pushed to a branch on GitHub.

## Resources

Expand Down
49 changes: 49 additions & 0 deletions Wireframe/answers.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wireframe Answers</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header style="margin: auto; text-align: center;">
<h1>Wireframe Answers</h1>
<p>This code includes the answers to the wireframe exercise.</p>
</header>
<main>
<div class="container">
<!-- Question 1: -->
<article>
<img src="placeholder.svg" alt="placeholder image" />
<h2>1. What is the purpose of a README file?</h2>
<p>A README file provides essential information about a project, including its purpose, usage instructions, and setup requirements.</p>

<!-- Question 2: -->
<h2>2. What is the purpose of a wireframe?</h2>
<p>A wireframe is a visual guide that represents the skeletal framework of a website or application, used to plan layout and functionality.</p>
<a href="">Read more</a>
</article>

<div class="second-container">
<!-- Question 3: -->
<article>
<h2>3. What is a branch in Git?</h2>
<p>A branch in Git is a separate line of development that allows you to work on different versions of a project simultaneously without affecting the main codebase.</p>
<a href="">Read more</a>
</article>

<!-- Question 4: -->
<article>
<h2>4. What is the point of the article tag in HTML?</h2>
<p>The article tag in HTML is used to define a self-contained piece of content that can be independently distributed or reused, such as a blog post or news article.</p>
<a href="">Read more</a>
</article>
</div>
</div>
</main>
<footer>
<p>This code includes the answers to the wireframe exercise.</p>
</footer>
</body>
</html>
17 changes: 17 additions & 0 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,20 @@ article {
grid-column: span 3;
}
}

.container {
padding: 0 10%;
}

.second-container {
padding-top: 20px;
display: flex;
gap: 1.5rem;
align-items: stretch;
}

.second-container article {
flex: 1;
max-width: 45%;
padding: 1rem;
}