Skip to content

Conversation

@RomanSanaye
Copy link

@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

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
<!-- Email -->
<div>
<label for="email">Email</label>
<input type="email" id="email" name="email" required />

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 ?


<!-- Size -->
<fieldset>
<legend>T-Shirt Size</legend>

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 ?

<!-- Name -->
<div>
<label for="name">Name</label>
<input type="text" id="name" name="name" minlength="2" required />

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
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

@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
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.

2 participants