Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
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
70 changes: 61 additions & 9 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
@@ -1,32 +1,84 @@
<!DOCTYPE html>
<!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>
<header>
<h1>Wireframe</h1>
<h1>Planning, Versioning and Documenting</h1>
<p>
This is the default, provided code and no changes have been made yet.
Building high quality web applications requires more than just writing
code. This guide explores three foundational pillars of professional
software development: mapping user experiences with wireframes, managing
code safely using Git branches, and creating clear project documentation
with README files.
</p>
</header>
<main>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<img
src="https://www.makeareadme.com/images/open-graph-logo.png?v=20181203"
alt="a digital file icon in purple colour"
/>
<h2>The purpose of a README file</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
README files are the first thing developers see when introduced to a
project. They are placed in the main directory of a project and helps
understand what the project does, how to install it, and how others
can use or contribute to it.
</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://static-assets.codecademy.com/Courses/intro-to-ui-and-ux/wireframes/wireframe-elements.jpg"
alt="wireframe elements"
/>
<h2>The Purpose of Wireframes</h2>
<p>
A wireframe is a low-fidelity visual guide that outlines a webpage's
structural framework, focusing on content layout and user interface
functionality before design begins.
</p>
<a href="https://www.experienceux.co.uk/faqs/what-is-wireframing/"
>Read more</a
>
</article>
<article>
<img
src="https://os.novatorsoft.com/nvs-content/medium_branch_nedir_1_a4b3ed668c.webp"
alt="a diagram showing git branches"
/>
<h2>What is a Branch in Git?</h2>
<p>
Git branches are a powerful feature that allows developers to work on
different versions of a project simultaneously without affecting the
main codebase.
</p>
<a
href="https://docs.github.com/es/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-branches"
>Read more</a
>
</article>
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
&copy; 2026 Wireframe Web Development Coursework. All rights reserved.
</p>
<address>
Contact us:
<a href="mailto:carolina@example.com">carolina@example.com</a>
</address>
<p>
Follow us on
<a href="https://www.linkedin.com/in/carolina-example/">LinkedIn</a>
</p>
</footer>
</body>
Expand Down
155 changes: 92 additions & 63 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
@@ -1,89 +1,118 @@
/* 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);
--paper: #ffffff;
--ink: #111111;
--font: 100%/1.5 system-ui;
--space: clamp(6px, 6px + 2vw, 15px);
--line: 1px solid;
--container: 1280px;
--space: clamp(10px, 6px + 2vw, 20px);
--line: 2px solid #111111;
--container: 1200px;
}
/* ====== Base Elements ======
General rules for basic HTML elements in any context */

body {
background: var(--paper);
color: var(--ink);
font: var(--font);
margin: 0;
padding: 0;

padding-bottom: 120px;
}

a {
padding: var(--space);
display: inline-block;
color: var(--ink);
text-decoration: none;
padding: 8px 16px;
border: var(--line);
max-width: fit-content;
font-weight: bold;
text-transform: uppercase;
font-size: 0.9rem;
margin-top: auto;
max-width: fit-content;
}
img,
svg {
width: 100%;

a:hover {
background: var(--ink);
color: var(--paper);
}

img {
height: 300px;
object-fit: cover;
border-bottom: var(--line);
margin-top: calc(var(--space) * -1);
margin-left: calc(var(--space) * -1);
width: calc(100% + var(--space) * 2);
}
/* ====== Site Layout ======
Setting the overall rules for page regions
https://www.w3.org/WAI/tutorials/page-structure/regions/
*/

header {
text-align: center;
max-width: 800px;
margin: 40px auto;
padding: 0 var(--space);
}

header h1 {
text-transform: uppercase;
margin-bottom: 10px;
}

main {
display: grid;
grid-template-columns: 1fr 1fr;
gap: calc(var(--space) * 2);
max-width: var(--container);
margin: 0 auto calc(var(--space) * 4) auto;
margin: 0 auto;
padding: 0 var(--space);
}

main > article:first-child {
grid-column: span 2;
}

main > article:first-child img {
height: 400px;
}

@media (max-width: 768px) {
main {
grid-template-columns: 1fr;
}
main > article:first-child {
grid-column: span 1;
}
}

footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
text-align: center;
}
/* ====== Articles Grid Layout ====
Setting the rules for how articles are placed in the main element.
Inspect this in Devtools and click the "grid" button in the Elements view
Play with the options that come up.
https://developer.chrome.com/docs/devtools/css/grid
https://gridbyexample.com/learn/
*/
main {
display: grid;
grid-template-columns: 1fr 1fr;
background-color: var(--paper);
border-top: var(--line);
padding: 15px 0;
z-index: 1000;
display: flex;
justify-content: center;
gap: var(--space);
> *:first-child {
grid-column: span 2;
}
align-items: center;
}

footer p, footer address {
margin: 5px 0;
font-size: 0.9rem;
}
/* ====== Article Layout ======
Setting the rules for how elements are placed in the article.
Now laying out just the INSIDE of the repeated card/article design.
Keeping things orderly and separate is the key to good, simple CSS.
*/

article {
border: var(--line);
padding-bottom: var(--space);
text-align: left;
display: grid;
grid-template-columns: var(--space) 1fr var(--space);
> * {
grid-column: 2/3;
}
> img {
grid-column: span 3;
}
padding: var(--space);
display: flex;
flex-direction: column;
gap: 15px;
}

article h2 {
margin: 0;
}
Loading