Skip to content

Birmingham | 26-ITP-Jan | Ayodeji Ayorinde | Sprint 2 | Form Controls#1141

Open
Ayogit1 wants to merge 6 commits intoCodeYourFuture:mainfrom
Ayogit1:Form-Control---Task1
Open

Birmingham | 26-ITP-Jan | Ayodeji Ayorinde | Sprint 2 | Form Controls#1141
Ayogit1 wants to merge 6 commits intoCodeYourFuture:mainfrom
Ayogit1:Form-Control---Task1

Conversation

@Ayogit1
Copy link

@Ayogit1 Ayogit1 commented Feb 5, 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

This PR contains the completed work on the Form Controls

Questions

@netlify
Copy link

netlify bot commented Feb 5, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit c1a5f2c
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/698762d1116c340008e3b5c3
😎 Deploy Preview https://deploy-preview-1141--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.

@Ayogit1 Ayogit1 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 5, 2026
@Ayogit1
Copy link
Author

Ayogit1 commented Feb 5, 2026

@cjyuan, I closed the previous PRs as I could not change the title.
This is the new PR for Form Control and needs review.

@cjyuan
Copy link
Contributor

cjyuan commented Feb 5, 2026

Can you address the inline comments I left on your previous PR? #1044

@cjyuan cjyuan 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
Removed multiple 'Required' since it is not necessary to use required on every radio button in the same group.
@Ayogit1 Ayogit1 added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Feb 5, 2026
@cjyuan
Copy link
Contributor

cjyuan commented Feb 5, 2026

I left these comments on your closed PR. Can you address them?
image

@cjyuan cjyuan removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 5, 2026
@Ayogit1 Ayogit1 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 7, 2026
Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

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

Can you add an input element that would allow a user to submit the form data?

<body>

<main>
<form action="/my-handling-form-page" method="post">
Copy link
Contributor

Choose a reason for hiding this comment

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

  • Why use POST method to submit the form data?

Comment on lines +36 to +48
<input type="radio" required name="colour" value="Green">
Green
</label>

<label>
<input type="radio" required name="colour" value="Red">
Red
</label>

<label>
<input type="radio" required name="colour" value="Blue">
Blue
</label>
Copy link
Contributor

Choose a reason for hiding this comment

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

Among the radio buttons in the same button group (same name attribute value), we can just assign required to one of them.

@cjyuan cjyuan removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 7, 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