Skip to content

Sheffield | 26-Jan-ITP | Karim Mhamdi | Sprint 2 | Form Controls#1102

Closed
KKtech06 wants to merge 16 commits into
CodeYourFuture:mainfrom
KKtech06:feature/form-controls
Closed

Sheffield | 26-Jan-ITP | Karim Mhamdi | Sprint 2 | Form Controls#1102
KKtech06 wants to merge 16 commits into
CodeYourFuture:mainfrom
KKtech06:feature/form-controls

Conversation

@KKtech06
Copy link
Copy Markdown

@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
Copy Markdown

netlify Bot commented Jan 31, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit a739523
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/698745cabe5019000832fc30
😎 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: 86 (no change 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
Copy Markdown
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?

Comment thread Form-Controls/index.html Outdated
this will also help you fill in your PR message later-->
</form>
<form>
<table>
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 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 thread Form-Controls/index.html Outdated
Comment on lines +28 to +33
<td><input
type="text"
id="name"
name="name"
minlength="2"
required ></td>
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.

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

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@KKtech06 KKtech06 force-pushed the feature/form-controls branch from 5a3d451 to 239d82b Compare February 7, 2026 13:08
@KKtech06 KKtech06 added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Feb 7, 2026
@cjyuan
Copy link
Copy Markdown
Contributor

cjyuan commented Feb 7, 2026

Changes look good. Well done.

@cjyuan cjyuan added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Feb 7, 2026
@illicitonion
Copy link
Copy Markdown
Member

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

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants