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
Binary file added Wireframe/image1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Wireframe/image2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Wireframe/image3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 41 additions & 20 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,52 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wireframe</title>
<title>Introduction toWireframes</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>
<h1>Introduction to Wireframes</h1>
</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>
<article class="article1">
<figure>
<img id="image1" src="image1.jpg" alt="people reviewing a wireframe on a board" />
<figcaption>Wireframe group planning session</figcaption>
</figure>
<h2>What is a Wireframe?</h2>
<p> A wireframe is a basic, skeletal blueprint of a website, app, or digital product, showing the layout, structure, and placement of elements like text, images, and buttons, but without detailed visual design (colors, fonts). It acts as a roadmap for user experience (UX) and functionality, helping teams align on structure and flow early in the design process, focusing on "what" goes "where" before diving into "how it looks".
</p>
<a href="https://balsamiq.com/blog/what-are-wireframes/" target="_blank" rel="noopener noreferrer" title="Opens in a new tab">Read more about Wireframes</a>

</article>

<article class="article2">
<figure>
<img id="image2" src="image2.jpg" alt="person working on a board with a wireframe on it" />
<figcaption>Wireframe solo planning session</figcaption>
</figure>
<h2>Why are Wireframes Important?</h2>
<p> Wireframes are crucial in the design process because they allow designers and stakeholders to focus on structure, content hierarchy, and user flow without being distracted by visual elements. They help identify usability issues early, facilitate collaboration between team members, and provide a clear foundation for developers to build upon.
</p>
<a href="https://creately.com/blog/software-teams/why-are-wireframes-so-important/" target="_blank" rel="noopener noreferrer" title="Opens in a new tab"> Read more about Why Wireframes are Important</a>
</article>

<article class="article3">
<figure>
<img id="image3" src="image3.jpg" alt="person explaining a wireframe to a colleague via laptop" />
<figcaption>Explaining a Wireframe to a colleague</figcaption>
</figure>
<h2>Types of Wireframes</h2>
<p> There are three main types of wireframes: low-fidelity, mid-fidelity, and high-fidelity. Low-fidelity wireframes are simple sketches that outline basic layout and functionality. Mid-fidelity wireframes add more detail, such as specific content placement and interaction elements. High-fidelity wireframes are more polished and closely resemble the final product, often including actual images and text.
</p>
<a href="https://plus.excalidraw.com/use-cases/wireframe" target="_blank" rel="noopener noreferrer" title+"Opens in a new tab"> Read more about Types of Wireframes</a>
</article>
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
</p>
</footer>

<footer>
<p>Work by Hayriye Saricicek. Contact: <a href="mailto:mshayriyesaricicek@gmail.com">mshayriyesaricicek@gmail.com</a></p>
</footer>

</body>
</html>
</html>
115 changes: 74 additions & 41 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
/* 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);
--color: #000;
--ink: color-mix(in oklab, var(--color) 5%, black);
--font: 100%/1.5 system-ui;
--space: clamp(6px, 6px + 2vw, 15px);
Expand All @@ -27,63 +12,111 @@ As well as useful links to learn more */
/* ====== Base Elements ======
General rules for basic HTML elements in any context */
body {
background: var(--paper);
color: var(--ink);
font: var(--font);
background-color: e5fffd;
color: #333;
}

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

h1 { text-align: center;
font-size: 3rem;
letter-spacing: 2px;
margin: 20px 0;
font-weight: bold;

}
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/
*/
main {
max-width: var(--container);
margin: 0 auto calc(var(--space) * 4) auto;
padding-bottom: 60px;
}
footer {
position: fixed;
bottom: 0;
width: 100%;
height: 60px;
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/
Makes sure the first article goes the full width of the page and the image 2 and image 3 are next to each other
*/
main {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space);
gap: 20px;
> *:first-child {
grid-column: span 2;
grid-column: span 2;
padding-bottom: 15px;
}

}
}
/* ====== 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.
so text is centred under the first image and left-aligned on images 2 and 3
*/
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;
.article1 {
text-align: center;
}

.article2 {
text-align: left;
}

.article3 {
text-align: left;
}

/* ====== makes sure image 1 fills the full width of the page ======*/

#image1 { width: 100%;
height: 400px;
}

figcaption {
text-align: center; /* Centers the caption text */
font-style: italic; /* Optional: makes it look like a caption */
margin-top: 8px; /* Space between image and caption */
color: var(--ink); /* Keeps it consistent with your text color */
font-size: 0.9rem; /* Slightly smaller than body text */
}


/* ====== Buttons Layout ======
this makes the more information links look like buttons
*/

article a {
display: inline-block;
padding: 10px 20px;
background-color: hsl(226, 61%, 41%); /* green button */
color: white;
text-decoration: none;
border-radius: 5px;
}

article a:hover {
background-color: e7fff3
color: e5fffd;
}

a:focus {
outline: 3px solid lch(87.22% 82.42 151.58 / 0.327);
outline-offset: 2px;
}