Skip to content

Birmingham | may-2026-itp | Alexandra Clincu | Sprint 1 | Form Controls#1285

Open
AlexandraClincu28 wants to merge 3 commits into
CodeYourFuture:mainfrom
AlexandraClincu28:form-control-alexandra
Open

Birmingham | may-2026-itp | Alexandra Clincu | Sprint 1 | Form Controls#1285
AlexandraClincu28 wants to merge 3 commits into
CodeYourFuture:mainfrom
AlexandraClincu28:form-control-alexandra

Conversation

@AlexandraClincu28
Copy link
Copy Markdown

Learners, PR Template

Self checklist

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

Changelist

I created a valid HTML form with name, email, colour and size inputs using HTML form controls and validation.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 15, 2026

Deploy Preview for cyf-onboarding-module ready!

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

@github-actions

This comment has been minimized.

@AlexandraClincu28 AlexandraClincu28 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 16, 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
Comment on lines +20 to +26
<label for="colour">Choose a colour:</label>
<select id="colour" name="colour" required>
<option value="">Select a colour</option>
<option value="black">Black</option>
<option value="white">White</option>
<option value="blue">Blue</option>
</select>
Copy link
Copy Markdown
Contributor

@Poonam-raj Poonam-raj May 19, 2026

Choose a reason for hiding this comment

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

It might be nice to wrap this in a fieldset tag as it can create a bit of structure around a part of the form that is related to one idea, or separate an element out

Comment thread Form-Controls/index.html
Comment on lines +27 to +36
<label for="size">Choose a size:</label>
<select id="size" name="size" required>
<option value="">Select a size</option>
<option value="XS">XS</option>
<option value="S">S</option>
<option value="M">M</option>
<option value="L">L</option>
<option value="XL">XL</option>
<option value="XXL">XXL</option>
</select>
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.

It might be nice to also wrap this in a fieldset tag

Comment thread Form-Controls/index.html
Comment on lines +16 to +17
<label for="name">Name:</label>
<input type="text" id="name" name="name" required minlength="2" />
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 work - I do get the right level of strictness here 🎉

Comment thread Form-Controls/index.html
<label for="name">Name:</label>
<input type="text" id="name" name="name" required minlength="2" />
<label for="email">Email:</label>
<input type="email" id="email" name="email" 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.

good validation of email by using the type field

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.

Good work here - this is complete, I would advise to make this even better by adding fieldsets but otherwise looks great

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

Labels

Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants