Skip to content

London | May-2025 | Victoria Scott | Feature/wireframe #699

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
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
78 changes: 58 additions & 20 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,71 @@
<!DOCTYPE html>
<html lang="en">
<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>

<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>
<div class="container">
<header>
<h1>Wireframe</h1>
<h1>Module-Onboarding Project</h1>
<p>
This is the default, provided code and no changes have been made yet.
This webpage summarises the purpose of a README file and Wireframe. It also explores what a branch in Git is.
</p>
</header>
<main>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<img
src="https://blog-cdn.everhour.com/blog/wp-content/uploads/2023/04/mohammad-rahmani-1VW6HLOQE5A-unsplash.jpg"
alt="image example of a README file" style="max-width: 100%; height: auto;">
<h2>What is the purpose of a README file?</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
A README file serves as a crucial piece of documentation for any
software project, providing essential information to users,
developers, and contributors. It typically outlines what the project
does, why it's useful, how to get started, and where to seek help.
Essentially, it acts as a welcome guide, making it easier for anyone
to understand and interact with the project.
</p>
<a href="">Read more</a>
<a
href="https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes">Read
more</a>
</article>

<article>
<img
src="https://cdn-images.visual-paradigm.com/handbooks/agile-handbook/wireframe/02-newspaper-site-wireframe-example.png"
alt="image example of a wireframe" class="fixed-height">
<h2>What is the purpose of a wireframe?</h2>
<p>
The primary purpose of a wireframe is to outline the basic structural design and user experience of a website
or application before any detailed design work is done. It's a visual representation of the layout, content,
and functionality, helping designers, developers, and stakeholders understand the overall structure and flow.
</p>
<a href="https://www.bbc.co.uk/bitesize/guides/zsnmk2p/revision/3">Read more</a>
</article>

<article>
<img src="https://cloudbytes.dev/images/99999989-git-workflow-svg.svg" alt="image example of a branch in Git"
class="fixed-height">
<h2>What is a branch in Git?</h2>
<p>
A branch in Git is simply a lightweight movable pointer to one of these commits. The default branch name in
Git is master. As you start making commits, you're given a master branch that points to the last commit you
made. Every time you commit, the master branch pointer moves forward automatically.
</p>
<a
href="https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell#:~:text=A%20branch%20in%20Git%20is,Note">Read
more</a>
</article>
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
</p>
<footer class="fixed-footer">
<p>&copy; 2025 My Website</p>
</footer>
</body>
</html>
</div>
</body>

</html>
55 changes: 35 additions & 20 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
/* Here are some starter styles
You can edit these or replace them entirely
It's showing you a common way to organise CSS
And includes solutions to common problems
As well as useful links to learn more */

/* ====== Design Palette ======
This is our "design palette".
It sets out the colours, fonts, styles etc to be used in this design
At work, a designer will give these to you based on the corporate brand, but while you are learning
You can design it yourself if you like
Inspect the starter design with Devtools
Click on the colour swatches to see what is happening
I've put some useful CSS you won't have learned yet
For you to explore and play with if you are interested
https://web.dev/articles/min-max-clamp
https://scrimba.com/learn-css-variables-c026
====== Design Palette ====== */
:root {
--paper: oklch(7 0 0);
--ink: color-mix(in oklab, var(--color) 5%, black);
Expand All @@ -26,7 +8,12 @@ As well as useful links to learn more */
}
/* ====== Base Elements ======
General rules for basic HTML elements in any context */
body {
header {text-align:center;}

h1 {color: blue;}

body {
margin: 40px;
background: var(--paper);
color: var(--ink);
font: var(--font);
Expand All @@ -36,10 +23,38 @@ a {
border: var(--line);
max-width: fit-content;
}
img,
img, src
svg {
width: 100%;
height: 100%;
object-fit: cover;
}

.fixed-height {
height: 250px;
width: 100%;
object-fit: cover;
}

.side-by-side {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
margin-top: 20px;
}

.side-by-side article {
flex: 1 1 400px;
max-width: 450px;
}

.article-img {
width: 100%;
height: 250px;
object-fit: cover;
display: block;
margin-bottom: 1rem;
}
/* ====== Site Layout ======
Setting the overall rules for page regions
Expand Down