Sheffield | 26-ITP-January | Martha Ogunbiyi | Sprint 2 | Form Controls#978
Sheffield | 26-ITP-January | Martha Ogunbiyi | Sprint 2 | Form Controls#978marthak1 wants to merge 10 commits intoCodeYourFuture:mainfrom
Conversation
…t email validation
…s the required alt meaninigful
…tual color selection
…ed to avoid accidental checking
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
cjyuan
left a comment
There was a problem hiding this comment.
-
Lighthouse score is 93/100.
- Reason: Touch targets do not have sufficient size or spacing.
-
Consider aligning the wording used in the legend so similar items are described consistently. This helps users understand the information more quickly.
Customer Details
T-Shirt Color Preference
Choose Your T-Shirt Size
- In the PR description, to create list items in Markdown, we need to leave a space between
-and the text.
| <input type="text" id="name" name="name" minlength="3" maxlength="15" autocomplete="name" | ||
| placeholder="enter your name" required> |
There was a problem hiding this comment.
Currently a user can enter a name consisting of only space characters (e.g., " "). Can you enforce a stricter validation rule using the pattern attribute to disallow any name that contains only space characters?
There was a problem hiding this comment.
Thank for pointing this out. I hadn't considered that scenario.
There was a problem hiding this comment.
These changes has now been applied.
…for stricter name validation - aligned legend wordings for consistency
|
Looks good. |
|
Closing PR because the January ITP run has finished. Feel free to re-open if you're still working on it. |

Learners, PR Template
Self checklist
Changelist
Summary
This project demonstrates basic HTML form validation
Changes
References
Sprint 2 Backlog – Task: Form Controls