Skip to content

London | 26-ITP-May | Phaik Ling Soon | Sprint 1 | Form Controls - #1375

Closed
plsoongrace wants to merge 1 commit into
CodeYourFuture:mainfrom
plsoongrace:T-shirt-Order-Form
Closed

London | 26-ITP-May | Phaik Ling Soon | Sprint 1 | Form Controls#1375
plsoongrace wants to merge 1 commit into
CodeYourFuture:mainfrom
plsoongrace:T-shirt-Order-Form

Conversation

@plsoongrace

@plsoongraceplsoongrace commented May 30, 2026

Copy link
Copy Markdown

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

Changelist

I have created T-shirt Information under Form Controls.

Questions

I understand working on remote/ local machine, but I have challenges on checking my work whether it is successfully push to My GitHub account and the effective method to verify them.

@netlify

netlifyBot commented May 30, 2026

Copy link
Copy Markdown

Deploy Preview for cyf-onboarding-module ready!

NameLink
🔨 Latest commitbd7a9a1
🔍 Latest deploy loghttps://app.netlify.com/projects/cyf-onboarding-module/deploys/6a1b00bebf43ff0008710886
😎 Deploy Previewhttps://deploy-preview-1375--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: 92 (🔴 down 8 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 changesRun 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.

2 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@plsoongraceplsoongrace added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 30, 2026
@github-actions

This comment has been minimized.

@github-actionsgithub-actionsBot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 30, 2026
@github-actions

This comment has been minimized.

@plsoongraceplsoongrace added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 30, 2026
@github-actions

This comment has been minimized.

@github-actionsgithub-actionsBot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 30, 2026
@plsoongraceplsoongrace added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 30, 2026

@cjyuancjyuan left a comment

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.

  • According to https://validator.w3.org/, there are errors in your code. Can you fix them? (You should address this issue first)

  • Can you improve the Lighthouse accessibility score from 93 to 100?

Image

<title>Form</title>
</head>
<body>
<form action="results.html" method="GET">

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.

The spec has this requirement:

Do not write a form action for this project.

Comment on lines +15 to +16
<input type="text" name="name" id="name" placeholder="First name" required>
<input type="text" name="name" id="name" placeholder="Last name" 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.

The spec has this requirement:

What is the customer's name? I must collect this data and ensure it contains at least two non-space characters.

Note: Supposedly the form should only have one element for name input. i.e. no need separate input elements for last and first names.

Comment on lines +25 to +26
<input type="radio" name="color" id="black" value="black">
<label for="black">Mysterious Black</label>

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.

Note: With this syntax, you would not need to introduce id and for atttributes.

<label>
<input type="radio" name="..." value="...">
Radio button text </label>

Comment on lines +38 to +45
<select name="T-shirtSize" id="T-shirtSize" id="T-shirt Size" required>
<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.

Can you find out how to configure a <select> element so that no option is selected by default, allowing the user to make an explicit choice?

Comment on lines +33 to +34
<label for="color">Colour Reference:</label>
<input type="color" name="color" id="color">

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.

Please note that adding form elements that are not defined in the specification is generally discouraged, as the implementation should remain aligned with the approved requirements.

@cjyuancjyuan 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 May 30, 2026
@illicitonion

Copy link
Copy Markdown
Member

Closing PR because the May ITP run has finished. Feel free to re-open if you're still working on it.

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

Labels

ReviewedVolunteer 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.

3 participants

@plsoongrace@illicitonion@cjyuan