diff --git a/Wireframe/image1.jpg b/Wireframe/image1.jpg new file mode 100644 index 000000000..7a49893c1 Binary files /dev/null and b/Wireframe/image1.jpg differ diff --git a/Wireframe/image2.jpg b/Wireframe/image2.jpg new file mode 100644 index 000000000..a7176f3e7 Binary files /dev/null and b/Wireframe/image2.jpg differ diff --git a/Wireframe/image3.jpg b/Wireframe/image3.jpg new file mode 100644 index 000000000..32892bb86 Binary files /dev/null and b/Wireframe/image3.jpg differ diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..854d3897e 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -3,31 +3,52 @@ - Wireframe + Introduction toWireframes
-

Wireframe

-

- This is the default, provided code and no changes have been made yet. -

+

Introduction to Wireframes

-
- -

Title

-

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. -

- Read more -
+
+
+ people reviewing a wireframe on a board +
Wireframe group planning session
+
+

What is a Wireframe?

+

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". +

+ Read more about Wireframes + +
+ +
+
+ person working on a board with a wireframe on it +
Wireframe solo planning session
+
+

Why are Wireframes Important?

+

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. +

+ Read more about Why Wireframes are Important +
+ +
+
+ person explaining a wireframe to a colleague via laptop +
Explaining a Wireframe to a colleague
+
+

Types of Wireframes

+

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. +

+ Read more about Types of Wireframes +
- + + + - + \ No newline at end of file diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..9894f1a5c 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -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); @@ -27,15 +12,23 @@ 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%; @@ -43,47 +36,87 @@ svg { } /* ====== 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; +} + + + +