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
81 changes: 52 additions & 29 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,56 @@
<!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>
<p>
This is the default, provided code and no changes have been made yet.
</p>
</header>
<main>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
</p>
<a href="">Read more</a>
</article>
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
</p>
</footer>
<head>
<title>Wireframe Guide</title>
<link rel="stylesheet" href="style.css">
</head>


<body><header class="page-header">

<h1> Wireframe </h1>
<p class="short-description">Your guide to version control and design.</p>
</header>
<div class="main-wrapper">
<section class="featured-article">
<h2>Featured Article</h2>
<article>
<img src="https://media2.dev.to/dynamic/image/width=1280,height=720,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbqwje91mhujxu2gk5p83.jpg" alt="readme">
<h3> What is the purpose of a README file? </h3>
<p>
A README file is a markdown document that provides an introduction and documentation for a project hosted on GitHub. It is usually placed in the root directory of a repository and is automatically displayed on the repository’s main page.

Purpose of a README File

Provides an overview of the project
Describes installation and setup steps
Documents usage instructions
List contributors and guidelines for contributing
Contains licensing information
Enhances project visibility and usability
</p>
<a href="https://datamanagement.hms.harvard.edu/collect-analyze/documentation-metadata/readme-files">Read More</a>
</article>
</section>

<article class="side-card">
<img src="https://images.surferseo.art/5f496a4a-799c-4502-8e9e-2f396dae9c91.png" alt="">
<h2>What is the purpose of a wireframe?</h2>
<p>Wireframes are basic blueprints that help teams align on requirements, keeping UX design conversations focused and constructive. Think of your wireframe as the skeleton of your app, website, or other final product. Your wireframe shows the design team and stakeholders the bare-bones outlines of essential webpages, components, and features, including:</p>

<a href="https://www.figma.com/resource-library/what-is-wireframing/">Read More</a>
</article>

<article class="side-card">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZoAAAB7CAMAAAB6t7bCAAAA21BMVEX////wPC42JwEmEQArGAA0JQCSjYP6x8QzIwAhBgDvLhzvKhawrKPwNygkDgDQzMXh39kvHgC8t63zZ13vJQ4sGwAeAAAwHwD4q6YoFACHf27wNCPv7uv6wb1gVT719fJJPCD3n5r96un2mJLc2dL5urb4qKP82NbxSz9WSzaqpZsYAADvIgbxRjhPQyv7z8xvaF07LAAAAAD+8/L84uHyVUtpYE6blYqDfXP5s64QAABVSS3Gw7p2bl30fXZFNxw+MBH0cWf1jojyXVNhV0TzbmZmXlBAMQ+AeGn+LBJeAAAHMklEQVR4nO2ca3eaShSGkYsFjII2SBASktRL1NRqa3MlMWnTk/z/X3S4DQw4KKak65zmfT4kqyMdV3jWzOzZ7IHjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/hjflstvVffp6LruVt3pu2Nwpqrfv1TapVufiV1zPKm00/fHQaNZqzUbHyrs0r0VZJ6XzOlVhZ2+Pw4atZAq3UwUPmLar67Td8cwNlOpmwszVmNdVtbnuyM1U6WbYzlWY2BGey0nlJkK3dyy1DhX9Xr9SqvoK/52Rue12lu4uTMYE5p3I4ridK+ab/j7GTTexM1eN1bT1dPGieA3CFBTlsH+m7i5C0M084be2FwZUFOS62Xwc/A2c9rldDq9uc0sLLwENeUYnn8+DX6vuTmspn/HyeZpvHAgQc12/Ki5ecZ0o1bkJsfYhJpShPuZxE1Dtd/aTc/ioaYMQzWUYH8P3RweHn6qUXLsyt04d5EZXuhU3fVfRmwmcRNw/wo3ekQu+e/oKY7/737njicbHWl1FKMze3zvUNkZys33Z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DNpTX6pqZT6wetHhXI1vtxWr29M/8pXe5p+lUHlr3JqS+SVrVO/3wMTVdViPLkq8WM1uOvJvmGXnRxmNuSmswzXCXVhoy+9GZ2TYMS1DE2fwytuN8VdJiKElsfQ2DsuS8OsHCufU8OTd2IuCDWsYM1xN5FnJbkC/DgeBMs59E8bI7MzKtkoJYbY1htnpzQNqXmVGjFphJCmrWkZS74AK2Gk6fCelYMgX5ySv4gvdMtub5gDRnqjcLzXDcop13kqAEO0/nq5CBHOh06yuxFTQoxuppggpBJrSb5i/SeqKWMsPpzBrmaDQ8++uNO9nLMEkWFVfrBA1eH/WBhdA1TXY8o53a5cz4K3q4apimH2jli9K72K38LutulmfNkmZeooPnF0fHD7xsGpZlGGLyThq8Zuu3ybyb5uzHp5/nqZmi2CziLgwD4udmjt7XvH5fI+8LQoqsAjLrjW3TlWcbzbg30aKS3TD2482OiD1+BbAyMwHsHEBCP0wG5N/Y5MRq8JKtShiyc53MvFlKlB0zn7KtnoAwoEpYbraZIYlLITM8nPgFaPICYXE1rLvZaoZzbuJV5bnX0foBmveixDsdC0tNVeTdbDfDcUdxMkAyBDE69SyQ7Jj5jEFTGdlcZxkznN6iT83SmAZWmgqh3ZQy48doDwLrZLqszJDmr5TUTUkz/tbmklfENp1Ik9tidzXBs7GKIW5Km/FxvPp81u52lZbQUpSuMZvX14pqwO8Tvh19JzMhruP0vc6k43l9ZlENqIDr2v6+Pdx+HfjznI5Gp9uvAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA+G/zL/GAnCl2sO8VAAAAAElFTkSuQmCC" alt="Example of a website wireframe">
<h2>What is a branch in Git?</h2>
<p>In Git, a branch is like a separate workspace where you can make changes and try new ideas without affecting the main project. Think of it as a "parallel universe" for your code.
</p>
<a href="https://www.geeksforgeeks.org/git/introduction-to-git-branch/" class="btn">Read more</a>
</article>
</div>
<footer>
<p> Smiles made in 2026 </p>
</footer>
</body>
</html>
117 changes: 63 additions & 54 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
@@ -1,31 +1,26 @@
/* 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 */
.page-header{
display:flex;
flex-direction:column;
align-items: center;
justify-content: center;
text-align: center;
min-height: 300px;
background-color: #f4f4f4;
}

.page-header h1 {
margin-bottom: 10px;
}

/* ====== 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);
--ink: color-mix(in oklab, var(--color) 5%, rgb(16, 15, 15));
--font: 100%/1.5 system-ui;
--space: clamp(6px, 6px + 2vw, 15px);
--line: 1px solid;
--container: 1280px;
}
/* ====== Base Elements ======
General rules for basic HTML elements in any context */

body {
background: var(--paper);
color: var(--ink);
Expand All @@ -41,49 +36,63 @@ svg {
width: 100%;
object-fit: cover;
}
/* ====== Site Layout ======
Setting the overall rules for page regions
https://www.w3.org/WAI/tutorials/page-structure/regions/
*/
main {

.main-wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space);

max-width: var(--container);

margin: 0 auto calc(var(--space) * 4) auto;
}

.main-wrapper > *:first-child {
grid-column: span 2;
}

footer {
position: fixed;
bottom: 0;
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;
gap: var(--space);
> *:first-child {
grid-column: span 2;
}
}
/* ====== 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;
}
display: flex;
flex-direction: column;

height: 100%;

padding: 0 var(--space) var(--space) var(--space);

overflow:hidden;
}

article img{
width: calc(100% + (var(--space) *2));
margin-left: calc(var(--space)* -1);
height: 250px;
object-fit: cover;
margin-bottom: var(--space);
}

article h2 {
min-height: 5em;
display: flex;
align-items: center; /* Vertically centers the text if it's only one line */
margin-top: 0;
margin-bottom: var(--space);
}

article p{
flex-grow: 1;
margin-bottom: var(--space);
}

article a{
margin-top: auto;
align-self: flex-start;
}
Loading