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..42658d69d 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -3,31 +3,61 @@ - Wireframe + Introduction to Wireframes - +
-

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

+
+ +
+

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 + Read more about Wireframes + +
+
+
+ +
+

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

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..d51f74ec8 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -1,24 +1,9 @@ -/* 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 ====== */ + +/*====== Design Palette ====== */ :root { - --paper: oklch(7 0 0); - --ink: color-mix(in oklab, var(--color) 5%, black); + --paper: #ffffff; + --color: #000; + --ink: #333; --font: 100%/1.5 system-ui; --space: clamp(6px, 6px + 2vw, 15px); --line: 1px solid; @@ -27,63 +12,95 @@ 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); -} -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/ -*/ -main { - max-width: var(--container); - margin: 0 auto calc(var(--space) * 4) auto; + background-color: #e5fffd; + color: #333; } -footer { - position: fixed; - bottom: 0; - text-align: center; + +/* ===== main heading ======*/ + +h1 { text-align: center; + font-size: 3rem; + letter-spacing: 2px; + margin: 20px 0; + font-weight: bold; } + /* ====== 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); - > *:first-child { - grid-column: span 2; - } + gap: 20px; + 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); + +/* Make the first article span both columns */ +main article:first-child { + grid-column: span 2; /* spans full width */ + text-align: center; +} +.article { text-align: left; - display: grid; - grid-template-columns: var(--space) 1fr var(--space); - > * { - grid-column: 2/3; - } - > img { - grid-column: span 3; } + + + +/* ====== Styling for images ====== */ + +.article-image { + width: 100%; + height: 400px; + object-fit: cover; +} + + +/* ====== Styling for captions for figures ====== */ + +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 rgba(0, 150, 100, 0.3); + outline-offset: 2px; +} +/* ====== Footer Layout ====== */ + +footer { + width: 100%; + text-align: center; + padding: 20px 0; + box-sizing: border-box; + margin: 0; + grid-column: span 2; +} +