Skip to content

London | Jan-26 | Xuanming Hu | Sprint 2 | Form Controls#1132

Open
Samual-Hu wants to merge 2 commits intoCodeYourFuture:mainfrom
Samual-Hu:feature/form-controls
Open

London | Jan-26 | Xuanming Hu | Sprint 2 | Form Controls#1132
Samual-Hu wants to merge 2 commits intoCodeYourFuture:mainfrom
Samual-Hu:feature/form-controls

Conversation

@Samual-Hu
Copy link

@Samual-Hu Samual-Hu commented Feb 4, 2026

Learners, PR Template

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

Update to html.

Questions

None for now.

@netlify
Copy link

netlify bot commented Feb 4, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 43c001b
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/69836f664ef3280008f3de31
😎 Deploy Preview https://deploy-preview-1132--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.

@Samual-Hu Samual-Hu added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 4, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 4, 2026
@github-actions

This comment has been minimized.

@Samual-Hu Samual-Hu added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 4, 2026
Copy link

@iprithv iprithv left a comment

Choose a reason for hiding this comment

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

Below are some suggestions, if you could look at. Thanks for the submission. The form structure is clear, labels are connected correctly, and validation attributes are being used thoughtfully. Nice work @Samual-Hu

this will also help you fill in your PR message later-->
</form>
</main>
<form>
Copy link

Choose a reason for hiding this comment

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

Could grouping related inputs using fieldset and legend improve organisation or accessibility here?

</main>
<form>
<label for="name">What is your name?</label>
<br><br>
Copy link

Choose a reason for hiding this comment

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

Do you need the
elements for spacing here, or might there be another way to control layout?

<form>
<label for="name">What is your name?</label>
<br><br>
<input type="text" id="name" name="name" required minlength="2" pattern="[A-Za-z]+([A-Za-z\s]*[A-Za-z]+)*">
Copy link

Choose a reason for hiding this comment

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

What effect does the name pattern restriction have, could it exclude valid real world names?


<input type="submit" value="Submit">
</form>
</main>
Copy link

Choose a reason for hiding this comment

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

Are there any structural elements you could simplify or make more semantic?

@iprithv iprithv 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 Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants