diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 65a866cdb..bf7bc4bac 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,27 +1,27 @@ - - - - My form exercise - - - - -
-

Product Pick

-
-
-
- - -
-
- - - +   +     +     +    My form exercise +     +     +   +   +    
+      

Product Pick

+    
+    
+      
+         +         +      
+    
+     +   + \ No newline at end of file diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..1732fda62 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -1,33 +1,79 @@ + Wireframe + +
-

Wireframe

-

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

Github Development

+

+ + Welcome to the Github Development Page +

+ + +
- -

Title

+ README file example +

What is the purpose of a README file?

+

+ A README file contains descriptions and instructions within a project + and explains how it works. + +

+ Read More about Readme +
+ + + +
+  Read More about Wireframe +

What is the purpose of a wireframe?

+

+ A wireframe is a planning step used before coding + to decide the layoutand structure of a webpage. + +

+ Read More about Wireframe + +
+ + + +
+ Git branch diagram +

What is a branch in Git?

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. + A Git branch is more like a copy of your code where others + can change and add to it without affecting your main code.

- Read more + Read More about Git Branches
+
- + \ No newline at end of file diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..aae00a7f6 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -1,21 +1,4 @@ -/* 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); @@ -24,12 +7,20 @@ 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); + background-color: antiquewhite; +} + +#p1{ + text-align: center; +} + +h1{ + text-align: center; } a { padding: var(--space); @@ -41,26 +32,32 @@ svg { width: 100%; object-fit: cover; } -/* ====== Site Layout ====== -Setting the overall rules for page regions -https://www.w3.org/WAI/tutorials/page-structure/regions/ -*/ + +article img{ + height: 220px; + object-fit: cover; +} + + main { max-width: var(--container); margin: 0 auto calc(var(--space) * 4) auto; } -footer { + + +footer{ position: fixed; - bottom: 0; + bottom: 0%; + left: 0%; + width: 100%; text-align: center; + background-color: blanchedalmond; + color:rgb(18, 18, 47); + padding: 18px; + margin-top: calc(var(--space) * 2); } -/* ====== 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; grid-template-columns: 1fr 1fr; @@ -68,12 +65,10 @@ main { > *:first-child { grid-column: span 2; } + padding-bottom: 90px ; } -/* ====== 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); padding-bottom: var(--space);