diff --git a/Form-Controls/README.md b/Form-Controls/README.md index bfcdf6c0..1028d39d 100644 --- a/Form-Controls/README.md +++ b/Form-Controls/README.md @@ -4,10 +4,10 @@ -- [ ] Interpret requirements and check against a list of criteria -- [ ] Write a valid form -- [ ] Test with Devtools -- [ ] Refactor using Devtools +- [x] Interpret requirements and check against a list of criteria +- [x] Write a valid form +- [x] Test with Devtools +- [x] Refactor using Devtools ## Task @@ -30,18 +30,18 @@ Do not write a form action for this project. Let's write out our testable criteria. Check each one off as you complete it. -- [ ] I have used HTML only. +- [x] I have used HTML only. - [x] I have not used any CSS or JavaScript. ### HTML -- [ ] My form is semantic html. -- [ ] All inputs have associated labels. -- [ ] My Lighthouse Accessibility score is 100. -- [ ] I require a valid name. I have defined a valid name as a text string of two characters or more. -- [ ] I require a valid email. -- [ ] I require one colour from a defined set of 3 colours. -- [ ] I require one size from a defined set of 6 sizes. +- [x] My form is semantic html. +- [x] All inputs have associated labels. +- [x] My Lighthouse Accessibility score is 100. +- [x] I require a valid name. I have defined a valid name as a text string of two characters or more. +- [x] I require a valid email. +- [x] I require one colour from a defined set of 3 colours. +- [x] I require one size from a defined set of 6 sizes. ## Resources diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 65a866cd..b5e0f0b2 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -9,19 +9,49 @@
-

Product Pick

+

Form Controls

- - +
+ + +
+
+
+ + +
+
+ +
+ Color and Size + + + + + +
+
+ + +
diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e53..aa5adf65 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -9,25 +9,34 @@

Wireframe

-

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

+

A wireframe is a simple sketch of a web page layout. It helps plan the structure and user flow before designing or coding

+
- -

Title

-

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

- Read more + Example of a README file displayed in a text editor +

What is the purpose of a README file?

+

A README file explains what your project does, how to use it, and any setup or installation steps.

+ Read more +
+ +
+ Low-fidelity wireframe example showing page layout structure +

What is the purpose of a wireframe?

+

A wireframe is a simple sketch of a web page layout. It helps plan the structure and user flow before designing or coding.

+ Read more +
+ +
+ Diagram illustrating Git branches and merging process +

What is a branch in Git?

+

A Git branch lets you work on different versions of a project at the same time without affecting the main codebase.

+ Read more
+ diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c..3da38d67 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -35,6 +35,10 @@ a { padding: var(--space); border: var(--line); max-width: fit-content; + display: inline-block; + margin-top: 10px; + text-decoration: none; + color: black; } img, svg { @@ -45,6 +49,15 @@ svg { Setting the overall rules for page regions https://www.w3.org/WAI/tutorials/page-structure/regions/ */ +header { + text-align: center; + padding: var(--space); + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + main { max-width: var(--container); margin: 0 auto calc(var(--space) * 4) auto; @@ -65,9 +78,9 @@ main { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space); - > *:first-child { - grid-column: span 2; - } +} +main > article:first-child { + grid-column: span 2; } /* ====== Article Layout ====== Setting the rules for how elements are placed in the article.