Birmingham|26-ITP-May|LesyaLyaisyan|Sprint 1|Form-Controls#1335
Birmingham|26-ITP-May|LesyaLyaisyan|Sprint 1|Form-Controls#1335LesyaLyan wants to merge 8 commits into
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.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
| - [] I have only used HTML and CSS. | ||
| - [] I have not used any JavaScript. |
There was a problem hiding this comment.
Meta description has been added, now SEO is 100 :) all the changes are in a commit. Thanks
There was a problem hiding this comment.
NIce that you moved the styling into a seperate file. It helps keeping the responsibilites of the code clear
|
|
||
| <hr> | ||
| <label for="name">Full Name</label> | ||
| <input id="name" name="name" type="text" minlength="2" placeholder="First Name Surname" pattern="[A-Za-z ]{2,}" required> |
There was a problem hiding this comment.
This prevents special characters like the German ä, ü, ö. How coul you allow them as well?
There was a problem hiding this comment.
I've changed the name pattern using a Unicode letter class to allow special characters.
| <main> | ||
| <form> | ||
|
|
||
| <hr> |
There was a problem hiding this comment.
The formatting standard for HTML elements is to use indentation on children elements. This makes it easier to understand the structure. How can you ensure consistent formatting in your code automatically?
There was a problem hiding this comment.
HTML is formatted automatically now by using a code formatter :) I didn't have it installed on my VSCode.
There was a problem hiding this comment.
Well done. You could configure it so that it automatically runs whenever you save the file


Learners, PR Template
Self checklist
Changelist
This PR creates a T-shirt order form using semantic HTML. It collects the user’s name, email, colour, and size.