Conversation
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
3 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
abdishakoor-dev
left a comment
There was a problem hiding this comment.
Thanks Rawan. A few things need fixing before this is Complete. Your colour radios are good: one name, a label each, and required.
- Put every field and the Submit button in one form (index.html line 68).
- The name must have two non-space characters (line 19).
- The size must be one of the six sizes only (line 42).
- Give the name and email boxes a label (lines 18 and 62).
- Fix the 11 errors from https://validator.w3.org/ on index.html.
- Close the body block in style.css (line 1). Then format the files you changed with Prettier. Format on save steps: https://github.com/CodeYourFuture/Module-JavaScript-Fundamentals/blob/main/practical_guide.md
- Put your name in the footer (line 74).
- Add the task code CYF-1004 to your PR description.
Add the Needs Review label again when you have pushed, and I'll take another look.
| <!--The input type="email" is used so the browser can validatae the email address format--> | ||
| <!--the style tag is used to style the input box. CSS pseudo-classes :valid or :invalid to check if the email is valid and notify the user--> | ||
|
|
||
| <form> <label> <input type="submit"> <input type="resit"> |
There was a problem hiding this comment.
This Submit button is in its own form. That form has no other fields. So the browser checks nothing when you press Submit.
Try it: leave every field empty and press Submit. The form is still sent.
The email field on line 63 is outside both forms too. Every field and the Submit button must be inside one form.
| this will also help you fill in your PR message later--> | ||
| <!-- write your html here--> | ||
| Enter your name: | ||
| <input type="text" placeholder="Enter your name" name="aName" size="16" minlength="2" maxlength="16"required> |
There was a problem hiding this comment.
Type two spaces in the name box. minlength="2" accepts them, because a space is a character.
The README asks for two non-space characters. It also gives you a regex for this. How can you use it on this input?
| <!-- I need to fix the labels to increase accessbility to 100%--> | ||
| <label> | ||
| Select your T-shirt size: | ||
| <input list="SizeList" name="T-shirt Size" placeholder=" Choose your size" required><br> |
There was a problem hiding this comment.
Type XXXL or purple in the size box. The browser accepts both. A datalist only suggests values. It does not limit them.
You already solved this for colour on line 30. How can you do the same for size?
| try writing out the requirements first as comments | ||
| this will also help you fill in your PR message later--> | ||
| <!-- write your html here--> | ||
| Enter your name: |
There was a problem hiding this comment.
This text is not linked to the name box, so it is not a label. The email box on line 62 has the same problem.
How did you link each colour label to its radio?
| @@ -0,0 +1,17 @@ | |||
| body { color: #141414; | |||
There was a problem hiding this comment.
The body block has no closing }. So Prettier cannot format this file.
| <footer> | ||
| <!-- change to your name--> | ||
| <p>By HOMEWORK SOLUTION</p> | ||
| <p>Rawan@</p> |
There was a problem hiding this comment.
The footer should show your name, as in your PR title. Please also delete the comments on lines 17 and 73. They were instructions for you.
Thank you so much for the comprehensive feedback; it's really helpful. |

Learners, PR Template
Self checklist
Task code
(e.g. CYF-1004).
Changelist
Sprint 1 work
Questions
no questions.