Skip to content

Birmingham | ITP-Jan | Ahmad Roman Sanaye | Sprint 2 | Form Controls#1047

Closed
RomanSanaye wants to merge 2 commits intoCodeYourFuture:mainfrom
RomanSanaye:Form-Control
Closed

Birmingham | ITP-Jan | Ahmad Roman Sanaye | Sprint 2 | Form Controls#1047
RomanSanaye wants to merge 2 commits intoCodeYourFuture:mainfrom
RomanSanaye:Form-Control

Conversation

@RomanSanaye
Copy link
Copy Markdown

@RomanSanaye RomanSanaye commented Jan 24, 2026

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

This PR adds an HTML-only form to collect customer details for a t-shirt order.
The form uses semantic HTML, includes associated labels for all inputs, and applies native HTML validation to ensure all required fields are completed correctly. No CSS or JavaScript has been used, in line with the assignment requirements.


Questions

No questions at the moment. Feedback is welcome.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 24, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit b575cee
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6979f0f58e6f1f0007ae53d4
😎 Deploy Preview https://deploy-preview-1047--cyf-onboarding-module.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
2 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 86 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@RomanSanaye RomanSanaye added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jan 24, 2026
Comment thread Form-Controls/index.html Outdated
<!-- Email -->
<div>
<label for="email">Email</label>
<input type="email" id="email" name="email" required />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

welldone for the Good work.
can you add a placeholder to guide the user ?
can you use minlength as part of the validation for the email too ?

Comment thread Form-Controls/index.html

<!-- Size -->
<fieldset>
<legend>T-Shirt Size</legend>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we don't want to type so many html elements i.e follow the KISS principle can we use the dropdown menu instead ?

Comment thread Form-Controls/index.html Outdated
<!-- Name -->
<div>
<label for="name">Name</label>
<input type="text" id="name" name="name" minlength="2" required />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a placeholder could be a way to guide users

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@takanocap , Thank you for your valuable feedback. I followed your suggestion to add placeholders and reduce repeated HTML elements by using dropdowns, which made my form cleaner, more precise, and user-friendly. I also learned that there is always an alternative approach that can make a solution more elegant and efficient. I really appreciate your guidance.

@takanocap takanocap added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jan 27, 2026
@takanocap takanocap self-assigned this Jan 28, 2026
Copy link
Copy Markdown

@takanocap takanocap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done for the good job.
LGTM

@takanocap takanocap added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Jan 28, 2026
@illicitonion
Copy link
Copy Markdown
Member

Closing PR because the January ITP run has finished. Feel free to re-open if you're still working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants