Skip to content

Conversation

@KKtech06
Copy link

@KKtech06 KKtech06 commented Jan 31, 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 form control with inputs where you can write your info such as your name and email and have also used labels to created section of colours to pick and sizes. and have ran a inspection test with lighthouse and got a score of 100

Questions

N/A

@netlify
Copy link

netlify bot commented Jan 31, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 5a3d451
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/697ddb3d8993fd00080d2710
😎 Deploy Preview https://deploy-preview-1102--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: 83 (🔴 down 3 from production)
PWA: -
View the detailed breakdown and full score reports

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

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

  • Branch is not clean -- a branch for the Form Controls exercise should not contain changed files in the Wireframe folder. Can you revert the changes made in the Wireframe folder?

  • According to https://validator.w3.org/, there are errors in your code. Can you fix them?

  • I spotted some minor inconsistent use of letter case and wordings on the form. May I suggest sharing your code to an AI tool and ask it to review your code in terms of semantic, accessibility, typo, and consistency?
    It can often help us catch errors, improve consistency, and reinforce best practices.

  • It is uncommon to have a submit button in the middle of the form. Can you move it to the bottom of the form?

this will also help you fill in your PR message later-->
</form>
<form>
<table>
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think it is a good practice to use table to layout form elements.

For this exercise, just use <div> or <br> to create enough space to pass the Lighthouse accessibility check.

Comment on lines +28 to +33
<td><input
type="text"
id="name"
name="name"
minlength="2"
required ></td>
Copy link
Contributor

Choose a reason for hiding this comment

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

Currently a user can enter a name consisting of only space characters (e.g., " "). Can you enforce a stricter validation rule using the pattern attribute to disallow any name that contains only space characters?

@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 3, 2026
@github-actions
Copy link

github-actions bot commented Feb 3, 2026

The changed files in this PR don't match what is expected for this task.

Please check that you committed the right files for the task, and that there are no accidentally committed files from other sprints.

Please review the changed files tab at the top of the page, we are only expecting changes in this directory: ^Form-Controls/

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

1 similar comment
@github-actions
Copy link

github-actions bot commented Feb 3, 2026

The changed files in this PR don't match what is expected for this task.

Please check that you committed the right files for the task, and that there are no accidentally committed files from other sprints.

Please review the changed files tab at the top of the page, we are only expecting changes in this directory: ^Form-Controls/

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

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