From 57d86ed60bfc80de12288d48e037505caa51e12b Mon Sep 17 00:00:00 2001 From: AdnaanA Date: Mon, 8 Sep 2025 10:19:25 +0100 Subject: [PATCH 1/2] modified: Wireframe/index.html modified: Wireframe/style.css --- Wireframe/index.html | 38 +++++++++++++++++++++------- Wireframe/style.css | 60 ++++++++++++++++++++------------------------ 2 files changed, 56 insertions(+), 42 deletions(-) diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..66b8f98a0 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -1,3 +1,4 @@ + @@ -8,26 +9,45 @@
-

Wireframe

+

Wireframe to web code

- This is the default, provided code and no changes have been made yet. + Welcome to my ITP Onboarding Module Wirefare to web code.

- -

Title

+ image showing a readme file +

README file?

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. + A README file is a crucial document in most software projects that serves as a guide for users, + developers, and contributors. Its primary purpose is to provide essential information about the project, making it easier for others to understand, use, and contribute to the codebase.

+ Read more +
+
+ image showing wireframe page layout +

wireframe?

+

+ A wireframe is a visual blueprint or schematic of a digital product (like a website or mobile app) + that shows the structure, layout, and basic functionality of the interface. +

+ Read more +
+
+ image showing branches in git +

branch in Git?

+

+ A branch in Git is essentially a pointer to a specific commit within a repository. It allows you to work on different versions of a project simultaneously, without interfering with the main or + other branches of development.

- Read more + Read more
- + \ No newline at end of file diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..e96af0d9f 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -1,35 +1,28 @@ -/* 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); --ink: color-mix(in oklab, var(--color) 5%, black); --font: 100%/1.5 system-ui; --space: clamp(6px, 6px + 2vw, 15px); --line: 1px solid; - --container: 1280px; + --container: 80%; + padding-left: auto; + padding-right: auto; } /* ====== Base Elements ====== General rules for basic HTML elements in any context */ + +header { + text-align: center; + padding-bottom: 30px; +} body { background: var(--paper); color: var(--ink); font: var(--font); + background-color: rgb(163, 185, 178); + } a { padding: var(--space); @@ -42,24 +35,12 @@ svg { 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; } -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; @@ -67,12 +48,10 @@ main { 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); @@ -86,4 +65,19 @@ article { > img { grid-column: span 3; } + background-color: beige; + +} + +.footer-content { +padding-left: 50px; } + +footer { + position: absolute; + text-align: left ; + font-size: large; + width: 100%; + border-top: black solid 1px; + left: 0%; +} \ No newline at end of file From 7e5955298c8d0d80ff5ddbabfc8cdc5e78dd9a3b Mon Sep 17 00:00:00 2001 From: AdnaanA Date: Mon, 8 Sep 2025 10:29:10 +0100 Subject: [PATCH 2/2] modified: Wireframe/index.html --- Wireframe/index.html | 1 - 1 file changed, 1 deletion(-) diff --git a/Wireframe/index.html b/Wireframe/index.html index 66b8f98a0..a9d1ac765 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -1,4 +1,3 @@ -