diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..7fa8c4a Binary files /dev/null and b/.DS_Store differ diff --git a/FormControls/formcontrolchecklist.md b/FormControls/formcontrolchecklist.md new file mode 100644 index 0000000..77b3ee8 --- /dev/null +++ b/FormControls/formcontrolchecklist.md @@ -0,0 +1,18 @@ +# Developers must test their work + +## Let's write out our testable criteria: + +### HTML +- [X ] I have used **HTML** and **CSS** only. +- [ 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. +- [ X] I require one **date** from a constrained date range. + +### CSS +- [ X] I show which element is **focused**. +- [ X] My **Lighthouse Accessibility** score is **100**. diff --git a/FormControls/index.html b/FormControls/index.html new file mode 100644 index 0000000..b8c4622 --- /dev/null +++ b/FormControls/index.html @@ -0,0 +1,69 @@ + + + + + + T-Shirt Order Form + + + + + +
+

T-Shirt Order Form

+
+
+
+ + +

T-Shirt Order Form

+ + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ +
+ +
+ + + + \ No newline at end of file diff --git a/FormControls/styles.css b/FormControls/styles.css new file mode 100644 index 0000000..ebb5500 --- /dev/null +++ b/FormControls/styles.css @@ -0,0 +1,53 @@ +header h1{ +width: 100vw; +display: flex; +justify-content: center; +} +form{ + display: flex; + flex-direction: column; + background: #fff; + padding: 20px; + border-radius: 10px; + max-width: 500px; + margin: 0 auto; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + gap:10px +} +h2 { + text-align: center; +} + +label { + margin-top: 10px; + font-weight: bold; +} + +input, select { + + padding: 10px; + margin-top: 5px; + border-radius: 5px; + border: 1px solid #ccc; +} +.button-order{ + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} +input[type="submit"] { + background-color: #1e7e34; + color: white; + cursor: pointer; + border: none; + /* margin-top: 20px; + width:20vw; */ +} + +input[type="submit"]:hover { + background-color: #218838; +} +input[type="submit"]:focus{ + outline: 2px solid black; +} diff --git a/index.html b/index.html new file mode 100644 index 0000000..9cea608 --- /dev/null +++ b/index.html @@ -0,0 +1,50 @@ + + + + + + Learning Wireframe + + + +
+

My Learning Page

+

Welcome to my wireframe demo page

+
+ + + +
+
+

Home

+

This is the home section where the main content will be displayed.

+
+ +
+

About

+

This section describes what the page or website is about.

+
+ +
+

Services

+

Details of services offered can go here.

+
+ +
+

Contact

+

This section provides contact information or a form for users to reach out.

+
+
+ + + +