Skip to content

London| May 2025| Payam Ghanbari | Wireframe Updated #690

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 8 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
85 changes: 58 additions & 27 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,64 @@
<!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>

<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>Working with wireframes</h1>
<p>
This is a wireframe for a simple web page. It includes a header, main
content area with articles, and a footer.
</p>
</header>

<main>
<article>
<img src="https://cdn-icons-png.flaticon.com/512/9491/9491371.png" alt="Branch Icon" />
<h2>1. What is a branch in Git?
</h2>
<p>
This is the default, provided code and no changes have been made yet.
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>
</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>
<a href="https://www.w3schools.com/git/git_branch.asp">Read more</a>
</article>

<article>
<img src="https://miro.medium.com/v2/resize:fit:1400/1*QiuUipzzVUp1XceY9kqXkg.png" alt="Wireframe Icon" />
<h2>2. What is the purpose of a wireframe?</h2>
<p>
This is the default, provided code and no changes have been made yet.
A wireframe is a two-dimensional skeletal outline of a webpage or app. Wireframes provide a clear overview of
the page structure, layout, information architecture, user flow, functionality, and intended behaviors. Styling,
color, graphics, and other design elements are kept to a minimum.
</p>
</footer>
</body>
</html>
<a
href="https://careerfoundry.com/en/blog/ux-design/what-is-a-wireframe-guide/#:~:text=A%20wireframe%20is%20a%20two,are%20kept%20to%20a%20minimum.">Read
more</a>
</article>

<article>
<img src="https://cdn-icons-png.flaticon.com/512/2620/2620624.png" alt="Readme Icon" />
<h2>3. What is the purpose of a README file?</h2>
<p>
You can add a README file to your repository to tell other people why your project is useful, what they can do
with your project, and how they can use it.
</p>
<a
href="https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes">Read
more</a>
</article>
</main>
<footer>
<p>
This page is modified by Payam Gh and it is a simple wireframe example!
</p>
</footer>
</body>

</html>
43 changes: 40 additions & 3 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,27 @@ As well as useful links to learn more */
--line: 1px solid;
--container: 1280px;
}

/* ====== Base Elements ======
General rules for basic HTML elements in any context */
body {
background: var(--paper);
color: var(--ink);
font: var(--font);
}

a {
padding: var(--space);
border: var(--line);
max-width: fit-content;
}

img,
svg {
width: 100%;
object-fit: cover;
}

/* ====== Site Layout ======
Setting the overall rules for page regions
https://www.w3.org/WAI/tutorials/page-structure/regions/
Expand All @@ -49,11 +53,16 @@ main {
max-width: var(--container);
margin: 0 auto calc(var(--space) * 4) auto;
}

footer {
position: fixed;
bottom: 0;
right: 50%;
translate: 50%;
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
Expand All @@ -64,11 +73,15 @@ https://gridbyexample.com/learn/
main {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto;
gap: var(--space);
> *:first-child {
align-items: stretch;

>*: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.
Expand All @@ -80,10 +93,34 @@ article {
text-align: left;
display: grid;
grid-template-columns: var(--space) 1fr var(--space);
> * {
grid-template-rows: auto auto auto 1fr;
/* Add this line */
align-content: start;

>* {
grid-column: 2/3;
}
> img {

>img {
grid-column: span 3;
margin-bottom: 0px;
width: 100%;
height: 500px;
}

>h2 {
margin: 10px 0;
}


}

article a {
margin-top: auto;


}

header {
text-align: center;
}