Skip to content

Conversation

Fithi-Teklom
Copy link

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

Added T-shirt form control with size and color options. The latest is the proper one.

Copy link

netlify bot commented Sep 22, 2025

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit cf596d8
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/68dd66abce04db0007679e65
😎 Deploy Preview https://deploy-preview-843--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: 87 (🟢 up 1 from production)
PWA: -
View the detailed breakdown and full score reports

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

@Fithi-Teklom Fithi-Teklom added 📅 Sprint 2 Assigned during Sprint 2 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Sep 22, 2025
Copy link

@CameronDowner CameronDowner left a comment

Choose a reason for hiding this comment

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

This is a really good start

Remember, you should always test your code before submission. There are some broken inputs that could've been caught by testing

this will also help you fill in your PR message later-->
<!-- Customer name -->
<label for="name">Full Name:</label>
<input id="name" type="text" name="name" pattern="[A-Za-z\s]{2,}" required />

Choose a reason for hiding this comment

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

What does this pattern mean?

Choose a reason for hiding this comment

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

@Fithi-Teklom Could you answer this comment please?

This is an advanced attribute & want to make sure you understand it / understand how you came up with it

Copy link
Author

Choose a reason for hiding this comment

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

Yes I do understand it. I was using AI tools to help with my projects. It showed me that attribute and I have asked chatgpt to clarify and break it down as well. So yes, I do understand what it means.

Choose a reason for hiding this comment

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

Is there another way to achieve this?

If I have a double barrelled name (e.g. Beyoncé Knowles-Carter), this pattern won't let me submit the form

Comment on lines 34 to 37




Choose a reason for hiding this comment

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

Do we need this big space here?

Programmers are very particular about how code is formatted - the rest of the file is perfect 👍

Copy link
Author

Choose a reason for hiding this comment

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

It was a mistake I have fixed it.

</selct>

<!-- Submit button -->
<input type="submit" value="submit"

Choose a reason for hiding this comment

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

This button doesn't appear to work when I press it - do you know why this might be?

Copy link
Author

Choose a reason for hiding this comment

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

I did not close the tag with closing tag. So that is why it wasn't working.

Copy link
Author

Choose a reason for hiding this comment

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

I also had to use the button tag.

Comment on lines 38 to 46
<selct id="size" name="size" required>
<option>--Select a size--</option>
<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="XLL">XLL</option>
</selct>

Choose a reason for hiding this comment

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

This input isn't being displayed correctly:

image

Copy link
Author

Choose a reason for hiding this comment

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

Spelling error happened (selct) instead of select.

<body>
<header>
<h1>Product Pick</h1>
</header>

Choose a reason for hiding this comment

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

Could you check this HTML with a HTML validator and solve any issues?

You can copy & paste your HTML under Validate by direct input

Copy link
Author

Choose a reason for hiding this comment

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

Hi Cameron
I have fixed the problems and made a progress, so I have removed the complete label and labeled it as needs to review. So I hope you review it again and comment or label it, so that i can start enrolling as a trainee.
Thank you!

@CameronDowner CameronDowner 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 Sep 27, 2025
@Fithi-Teklom Fithi-Teklom added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Complete Volunteer to add when work is complete and all review comments have been addressed. labels Sep 27, 2025
<!-- T-shirt size-->
<div>
<label for="size">Choose T-shirt Size</label>
<select id="size" name="size" required>

Choose a reason for hiding this comment

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

I can submit without selecting a size - why do you think this might be?

@CameronDowner CameronDowner 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 Sep 29, 2025
@Fithi-Teklom Fithi-Teklom 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 Sep 30, 2025
@CameronDowner CameronDowner 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 Oct 1, 2025
@CameronDowner CameronDowner added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Oct 1, 2025
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. 📅 Sprint 2 Assigned during Sprint 2 of this module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants