Skip to content

West-Midlands | 26-ITP-May | Maryam Janjua | Sprint 1 | Form Controls#1414

Open
maryam-devio wants to merge 5 commits into
CodeYourFuture:mainfrom
maryam-devio:feature/form-controls
Open

West-Midlands | 26-ITP-May | Maryam Janjua | Sprint 1 | Form Controls#1414
maryam-devio wants to merge 5 commits into
CodeYourFuture:mainfrom
maryam-devio:feature/form-controls

Conversation

@maryam-devio
Copy link
Copy Markdown

@maryam-devio maryam-devio commented Jun 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

  • I created a semantic HTML form that meets the task requirements.
  • All form inputs have associated labels and validation for required fields.
  • All the forms validate customer name, email, T-shirt colour, and T-shirt size.
  • I used radio buttons for predefined colour and size options.
  • I tested the form in the browser to ensure validation works correctly.
  • The HTML was validated with no errors or warnings.
  • The Lighthouse Accessibility score is 100.
  • I made regular commits while developing the solution.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 5, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit baee39a
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6a22b9e576cd6b0008516545
😎 Deploy Preview https://deploy-preview-1414--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: 84 (🔴 down 2 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.

@maryam-devio maryam-devio added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 5, 2026
@jayshreehajgude2012 jayshreehajgude2012 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 Jun 5, 2026
Copy link
Copy Markdown

@jayshreehajgude2012 jayshreehajgude2012 left a comment

Choose a reason for hiding this comment

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

check opening and closing tags.
validation used.
Try to add autocomplete property.
Provide default selection for options.

Comment thread Form-Controls/index.html
this will also help you fill in your PR message later-->
<!--Customer Name-->
<label for="name">Name</label>
<input
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Validation done

Comment thread Form-Controls/index.html
required pattern=".*\S.*\S.*"
/>
<!--Customer Email-->
<label for="email">Email</label>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

correct input type used and validation done

Comment thread Form-Controls/index.html

<!DOCTYPE html>
<html lang="en">
<head>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

mismatch tags

Comment thread Form-Controls/index.html
@@ -13,15 +20,54 @@ <h1>Product Pick</h1>
</header>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

body tag missing

Comment thread Form-Controls/index.html
type="text"
id="name"
name="name"
required pattern=".*\S.*\S.*"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

can you provide simple validation pattern for the same.

Comment thread Form-Controls/index.html
/>
<fieldset>
<!--Select T-shirt colour-->
<legend>Choose T-shirt Colour</legend>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

provide default selection

Comment thread Form-Controls/index.html
<fieldset>
<!--Select T-shirt colour-->
<legend>Choose T-shirt Colour</legend>
<input type="radio" id="purple" name="colour" value="purple" required>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Provide default selection

@jayshreehajgude2012 jayshreehajgude2012 added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Jun 5, 2026
@github-actions

This comment has been minimized.

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