Skip to content

Glasgow | 26-ITP-May | Chan Yat Long | Sprint 1 | Form Control #1310

Open
Motorcycle-lab wants to merge 6 commits into
CodeYourFuture:mainfrom
Motorcycle-lab:form-control
Open

Glasgow | 26-ITP-May | Chan Yat Long | Sprint 1 | Form Control #1310
Motorcycle-lab wants to merge 6 commits into
CodeYourFuture:mainfrom
Motorcycle-lab:form-control

Conversation

@Motorcycle-lab
Copy link
Copy Markdown

Self checklist

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

Change list

I have put the button before the closing tag.
I have added a name
I have changed my branch of main into a different branch of form control to prevent polluting into the main branch in the future.

Questions

I am just correcting the code based on feedback.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 18, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 6454172
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6a0b1440cdc09e0008185b90
😎 Deploy Preview https://deploy-preview-1310--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: 82 (🔴 down 4 from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

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

@Motorcycle-lab Motorcycle-lab added 📅 Sprint 1 Assigned during Sprint 1 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Onboarding The name of the module. labels May 19, 2026
@Poonam-raj Poonam-raj added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels May 19, 2026
Comment thread Form-Controls/index.html
try writing out the requirements first as comments
this will also help you fill in your PR message later-->
<label for="user-name">Your Name:</label>
<input id="user-name" name="user-name" type="text" pattern="[A-Za-z\s\-]{2,}" title="Please enter at least 2 letters. Numbers and symbols are not allowed" required>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pattern validation works for 2 or more names - good work

Comment thread Form-Controls/index.html

<label for="colors">Choose your favorite color:</label>
<select id="colors" name="colour" required>
<option value="" disabled selected>Select a color...</option>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice choice to disable the first option

Comment thread Form-Controls/index.html
<option value="xxl">XXL</option>
</select>

<button id="go" type="submit"> Submit
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I reckon the ID attribute could be something relating to the action like 'form-submit'

Copy link
Copy Markdown
Contributor

@Poonam-raj Poonam-raj left a comment

Choose a reason for hiding this comment

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

Accessibility is 100 ✅
Thank you for cleaning up this branch so it only contains form controls work 🎉

Great work - fulfilling the requirements, only one suggestion about the id of the submit button but this work is complete overall

@Poonam-raj Poonam-raj added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels May 19, 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. Module-Onboarding The name of the module. 📅 Sprint 1 Assigned during Sprint 1 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants