Skip to content

Birmingham | 25-ITP-May | Tobias Amaechina|Sprint 1|Form control#1324

Open
Tobias-Amaechina wants to merge 12 commits into
CodeYourFuture:mainfrom
Tobias-Amaechina:Form-control
Open

Birmingham | 25-ITP-May | Tobias Amaechina|Sprint 1|Form control#1324
Tobias-Amaechina wants to merge 12 commits into
CodeYourFuture:mainfrom
Tobias-Amaechina:Form-control

Conversation

@Tobias-Amaechina
Copy link
Copy Markdown

@Tobias-Amaechina Tobias-Amaechina commented May 20, 2026

Learners, PR Template

Self checklist

  • I have titled my PR with Birmingham | 25-ITP-May | Tobias Amaechina | Sprint 1 | Form control
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

I have completed the Form Control assignment. The form collects customer information with the following fields:

  1. Customer Name : Text input that validates at least 2 non-space characters
    2.Customer Email: Email input with validation for proper email format
  2. T-Shirt Colour: Dropdown menu with 3 colour options (blue , White and red) (prevents invalid selections)
    4.T-Shirt Size: Dropdown menu with 6 options (XS, S, M, L, XL, XXL)
    All form inputs are properly validated and the form meets the assignment requirements.

I agree to follow the code of conduct for this organisation

@netlify
Copy link
Copy Markdown

netlify Bot commented May 20, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 919fac9
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6a0e30d21c1d22000873ad53
😎 Deploy Preview https://deploy-preview-1324--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: 99 (🔴 down 1 from production)
Best Practices: 100 (no change from production)
SEO: 86 (no change 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.

@Poonam-raj
Copy link
Copy Markdown
Contributor

@Tobias-Amaechina please read through the issues the GitHub bot has raised and correct your PR template.

You need to add a Label (right hand side of this page) titled "Needs Review" to submit this work for review. You will only be able to do that when the github bot doesn't find issues with the PR template

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

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 22, 2026
@Tobias-Amaechina
Copy link
Copy Markdown
Author

I have added the needs review label

@github-actions

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

@Tobias-Amaechina Tobias-Amaechina added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 22, 2026
@Luro91 Luro91 added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label May 23, 2026
Copy link
Copy Markdown

@Luro91 Luro91 left a comment

Choose a reason for hiding this comment

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

Please have a look at the lighthouse check. How could you get to a 100?

Image

Comment thread Form-Controls/index.html
Comment on lines +9 to +10
<style>
body {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

How could you seperate the code for the styling from the html to make it easier to review (because of smaller files with seperate responsibilites)

Comment thread Form-Controls/index.html
Comment on lines +86 to +87
<input type="email" id="email" name="email" required pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$"
aria-describedby="emailHelp">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I find the code hard to read because of the formatting (long lines). How can you ensure consistent formatting in your code?

Comment thread Form-Controls/index.html
</fieldset>
<!-- Last name-->
<fieldset>
<label for = "last-name">Last Name</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.

Why are there spaces bet ween the html attirbute and its value?

Comment thread Form-Controls/index.html
<!-- First name-->
<fieldset>
<label for = "first-name">First Name</label>
<input type="text" id="first-name" name="first-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.

Good job on the validation. This works well

@Luro91 Luro91 removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 23, 2026
@Luro91 Luro91 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 May 23, 2026
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.

3 participants