diff --git a/Form-Controls/README.md b/Form-Controls/README.md index bfcdf6c0b..54d27d2c5 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 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 65a866cdb..2fe6ac6cf 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -3,25 +3,109 @@ - My form exercise + My T-shirt form exercise
-

Product Pick

+

T-shirt Picker

-
+ + + + + +

+ +

+ +

+ +

+ +
+ T-shirt colour +

+ + +

+

+ + +

+

+ + +

+
+ +
+ T-shirt size +

+ + +

+

+ + +

+

+ + +

+ + +

+

+ + +

+

+ + +

+
+

+ +
diff --git a/Wireframe/README.md b/Wireframe/README.md index f7b59df8c..8134a757a 100644 --- a/Wireframe/README.md +++ b/Wireframe/README.md @@ -14,11 +14,11 @@ There are some provided HTML and CSS files you can use to get started. You can u -- [ ] Use semantic HTML tags to structure the webpage -- [ ] Create three articles, each including an image, title, summary, and a link -- [ ] Check a webpage against a wireframe layout -- [ ] Test web code using [Lighthouse](https://programming.codeyourfuture.io/guides/testing/lighthouse) -- [ ] Use version control by committing often and pushing regularly to GitHub +- [x] Use semantic HTML tags to structure the webpage +- [x] Create three articles, each including an image, title, summary, and a link +- [x] Check a webpage against a wireframe layout +- [x] Test web code using [Lighthouse](https://programming.codeyourfuture.io/guides/testing/lighthouse) +- [x] Use version control by committing often and pushing regularly to GitHub ## Acceptance Criteria diff --git a/Wireframe/book.jpg b/Wireframe/book.jpg new file mode 100644 index 000000000..9e314740d Binary files /dev/null and b/Wireframe/book.jpg differ diff --git a/Wireframe/github-cat.png b/Wireframe/github-cat.png new file mode 100644 index 000000000..267a20327 Binary files /dev/null and b/Wireframe/github-cat.png differ diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..ff49854b1 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -1,32 +1,80 @@ + Wireframe, Readme file and Github branches explained Wireframe +
-

Wireframe

+

Wireframe, Readme file and Github branches explained

- This is the default, provided code and no changes have been made yet. + This is the header, meant to give an overview of what can be found on this page.

+
+ + + + + + + + + + + + +
+
- -

Title

+ a wireframe sketch of this page +

Wireframe

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. + A wireframe is a sketch of the design of a webpage. It is helpful in order to + plan the page lay-out and usability.

- Read more + Read more
+
+ +
+ +
+
+ the Gutenberg Bible is the oldest printed book +

Readme files

+

+ This article should be on the left side of the page and discuss the usefulness of a Readme file.
+ Readme files are designed to help a page designer figure out + what needs to be done and how they are expected to go about it. +

+ Read more +
+
+
+
+
+ the Github logo +

Github branches

+

+ Github branches are elements of a project on Github. Everyone working on a project should make a new branch + for any small or big change alike. They help keeping track of changes, specifically when working + on a project with several people. +

+ Read more +
+
+
diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..a88713852 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -37,7 +37,7 @@ a { max-width: fit-content; } img, -svg { +png { width: 100%; object-fit: cover; } @@ -49,9 +49,36 @@ main { max-width: var(--container); margin: 0 auto calc(var(--space) * 4) auto; } + +table { + font-family: Arial, Helvetica, sans-serif; + border-collapse: collapse; + width: 100%; +} + +td, th { + border: 1px solid #ddd; + padding: 8px; +} + +tr:nth-child(even){background-color: #f2f2f2;} + +tr:hover {background-color: #ddd;} + +th { + padding-top: 12px; + padding-bottom: 12px; + text-align: left; + background-color: #04AA6D; + color: white; +} + + footer { position: fixed; bottom: 0; + left: 0; + width: 100%; text-align: center; } /* ====== Articles Grid Layout ====