diff --git a/Form-Controls/README.md b/Form-Controls/README.md index f21386f42..ddee6e2d5 100644 --- a/Form-Controls/README.md +++ b/Form-Controls/README.md @@ -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 only used HTML and CSS. -- [ ] I have not used any JavaScript. +- [✅] I have only used HTML and CSS. +- [✅] I have not used any 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. +- [✅] 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. ## Resources diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..76356ac71 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -4,6 +4,7 @@ My form exercise + @@ -13,15 +14,102 @@

Product Pick

- - + + + + + + +

+ + + + + +

+ + + + + +

+ + + + + +

+ + + +
diff --git a/Form-Controls/style.css b/Form-Controls/style.css new file mode 100644 index 000000000..60be1b5e2 --- /dev/null +++ b/Form-Controls/style.css @@ -0,0 +1,40 @@ +body { + font-family: Arial, sans-serif; + background-color: #f4f4f4; + padding: 40px; +} + +h1 { + text-align: center; +} + +p { + text-align: center; +} + +form { + background-color: white; + max-width: 400px; + margin: 0 auto; + padding: 24px; + border-radius: 12px; + box-shadow: inset 0 0 0 2px #ccc; +} + +label { + font-weight: bold; +} + +input, +select, +button { + width: 100%; + padding: 10px; + margin-top: 6px; + margin-bottom: 16px; + box-sizing: border-box; +} + +button { + cursor: pointer; +} \ No newline at end of file diff --git a/Wireframe/Form Control Lighthouse score.jpg b/Wireframe/Form Control Lighthouse score.jpg new file mode 100644 index 000000000..cca0cf67b Binary files /dev/null and b/Wireframe/Form Control Lighthouse score.jpg differ diff --git a/Wireframe/README.md b/Wireframe/README.md index f7b59df8c..a5f181249 100644 --- a/Wireframe/README.md +++ b/Wireframe/README.md @@ -23,13 +23,15 @@ There are some provided HTML and CSS files you can use to get started. You can u ## Acceptance Criteria -- [ ] Semantic HTML tags are used to structure the webpage. -- [ ] The page scores 100 for Accessibility in the Lighthouse audit. -- [ ] The page header includes a title and description. -- [ ] The articles section has three unique articles, each including an image, title, summary, and a link. -- [ ] The page footer is fixed to the bottom of the viewport. -- [ ] The webpage is styled using a linked .css file. -- [ ] The webpage is properly committed and pushed to a branch on GitHub. +- [✅] Semantic HTML tags are used to structure the webpage. +- [✅] The page scores 100 for Accessibility in the Lighthouse audit. +- [✅] The page header includes a title and description. +- [✅] The articles section has three unique articles, each including an image, title, summary, and a link. +- [✅] The page footer is fixed to the bottom of the viewport. +- [✅] The webpage is styled using a linked .css file. +- [✅] The webpage is properly committed and pushed to a branch on GitHub. + + ## Resources diff --git a/Wireframe/images/img_1.png b/Wireframe/images/img_1.png new file mode 100644 index 000000000..98354ac9e Binary files /dev/null and b/Wireframe/images/img_1.png differ diff --git a/Wireframe/images/img_2.png b/Wireframe/images/img_2.png new file mode 100644 index 000000000..061f52293 Binary files /dev/null and b/Wireframe/images/img_2.png differ diff --git a/Wireframe/images/img_3.png b/Wireframe/images/img_3.png new file mode 100644 index 000000000..4ed786477 Binary files /dev/null and b/Wireframe/images/img_3.png differ diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..72916052e 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -3,30 +3,49 @@ - Wireframe + Developer Fundamentals
-

Wireframe

+

Developer Fundamentals

- This is the default, provided code and no changes have been made yet. + Learn the essentials of building and managing projects in tech — from wireframes for planning designs, to Git branches for version control, and README files for clear project documentation.

- -

Title

+ +

What is a Wireframe?

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. + A wireframe is a simple visual guide used to plan the layout of a webpage or app. It focuses on structure rather than design, showing where elements like headers, navigation, content, and images will be placed. Wireframes help developers and designers understand how a page will work before adding colors, images, or styling.

- Read more + Read more +
+ +
+ +

What is a Readme.md file

+

+ A README.md file is the main documentation file in a project. It explains what the project is about, how it works, and how to use it. Written in Markdown, it helps developers and users quickly understand the purpose of the project and how to get started. +

+ + Read more + +
+ +
+ +

What is a branch in GIT?

+

+ A branch in Git is a separate version of your code that allows you to work on new features or fixes without affecting the main project. It helps developers collaborate safely by keeping changes isolated until they are ready to be merged into the main branch. +

+ Read more
diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..42a33649a 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -30,6 +30,7 @@ body { background: var(--paper); color: var(--ink); font: var(--font); + } a { padding: var(--space); @@ -45,14 +46,20 @@ svg { Setting the overall rules for page regions https://www.w3.org/WAI/tutorials/page-structure/regions/ */ + +header { + text-align: center; + max-width: var(--container); + margin: 0 auto calc(var(--space) * 4) auto; +} main { max-width: var(--container); margin: 0 auto calc(var(--space) * 4) auto; } footer { - position: fixed; - bottom: 0; - text-align: center; + display: flex; + justify-content: center; /* Centers horizontally */ + align-items: center; } /* ====== Articles Grid Layout ==== Setting the rules for how articles are placed in the main element. @@ -87,3 +94,21 @@ article { grid-column: span 3; } } + +button, +.button { + display: inline-block; + background-color: rgb(247, 247, 247); + color: rgb(0, 0, 0); + padding: 10px 20px; + + cursor: pointer; + text-decoration: none; + transition: 0.3s; +} + +button:hover, +.button:hover { + background-color: rgb(163, 163, 179); + transform: scale(1.05); +} diff --git a/Wireframe/wireframel Lighthouse score.jpg b/Wireframe/wireframel Lighthouse score.jpg new file mode 100644 index 000000000..b0339b254 Binary files /dev/null and b/Wireframe/wireframel Lighthouse score.jpg differ