Skip to content

Manchester | 25-ITP-Sep | khalid bih | Sprint 2 | Form controls #829

Closed
khalidbih wants to merge 6 commits intoCodeYourFuture:mainfrom
khalidbih:form-controls
Closed

Manchester | 25-ITP-Sep | khalid bih | Sprint 2 | Form controls #829
khalidbih wants to merge 6 commits intoCodeYourFuture:mainfrom
khalidbih:form-controls

Conversation

@khalidbih
Copy link

@khalidbih khalidbih commented Sep 19, 2025

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

Added form-controls.html with T-shirt order form
All fields are required and validated

@github-actions
Copy link

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Wrong number of parts separated by |s

@netlify
Copy link

netlify bot commented Sep 19, 2025

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 52d6356
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/68dadb17af236700088cfbfa
😎 Deploy Preview https://deploy-preview-829--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: 94 (🔴 down 6 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.

@khalidbih khalidbih changed the title Form controls Manchester | 25 ITP September | Khalid Bih | Sprint2 | Form Controls Sep 19, 2025
@github-actions
Copy link

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Sprint part (Sprint2) doesn't match expected format (example: 'Sprint 2', without quotes)

1 similar comment
@github-actions
Copy link

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Sprint part (Sprint2) doesn't match expected format (example: 'Sprint 2', without quotes)

@khalidbih khalidbih changed the title Manchester | 25 ITP September | Khalid Bih | Sprint2 | Form Controls Manchester | 25-ITP-September | Khalid Bih | Sprint 1 | Form Controls Sep 19, 2025
@github-actions
Copy link

Your PR couldn't be matched to an assignment in this module.

Please check its title is in the correct format, and that you only have one PR per assignment.

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

@khalidbih khalidbih changed the title Manchester | 25-ITP-September | Khalid Bih | Sprint 1 | Form Controls Manchester | 25-ITP-September | Amina Ibrahim | Sprint 1| Form-controls Sep 19, 2025
@github-actions
Copy link

Your PR couldn't be matched to an assignment in this module.

Please check its title is in the correct format, and that you only have one PR per assignment.

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

@khalidbih khalidbih changed the title Manchester | 25-ITP-September | Amina Ibrahim | Sprint 1| Form-controls Manchester | 25-ITP-September | khalid bih | Sprint 2| Form-controls Sep 19, 2025
@github-actions
Copy link

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

@khalidbih khalidbih added the Module-Onboarding The name of the module. label Sep 20, 2025
@github-actions
Copy link

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

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

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

2 similar comments
@github-actions
Copy link

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

@github-actions
Copy link

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

@khalidbih khalidbih changed the title Manchester | 25-ITP-September | khalid bih | Sprint 2| Form-controls Manchester | 25-ITP-September | khalid bih | Sprint 2 | Form-controls Sep 20, 2025
@github-actions
Copy link

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

@khalidbih khalidbih changed the title Manchester | 25-ITP-September | khalid bih | Sprint 2 | Form-controls Manchester | 25-ITP-September | khalid bih | sprint 2 | Form-controls Sep 20, 2025
@github-actions
Copy link

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

@khalidbih khalidbih changed the title Manchester | 25-ITP-September | khalid bih | sprint 2 | Form-controls Manchester | 25-ITP-September | khalid bih | Sprint 2 | Form-controls Sep 20, 2025
@github-actions
Copy link

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

1 similar comment
@github-actions
Copy link

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

@khalidbih khalidbih changed the title Manchester | 25-ITP-September | khalid bih | Sprint 2 | Form-controls Manchester | 25-ITP-Sep | khalid bih | Sprint 2 | Form-controls Sep 20, 2025
@github-actions
Copy link

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

@khalidbih khalidbih changed the title Manchester | 25-ITP-Sep | khalid bih | Sprint 2 | Form-controls Manchester | 25-ITP-Sep | khalid bih | Sprint 2 | Form controls Sep 20, 2025
@github-actions
Copy link

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

1 similar comment
@github-actions
Copy link

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

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.

Looking good! All hard requirements are met, just a few things to clean up 🙂

<fieldset>
<legend>Customer Details</legend>

<label for="customer-name">Name</label>

Choose a reason for hiding this comment

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

Is this label referencing the input properly?

Copy link
Author

Choose a reason for hiding this comment

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

It wasn't because it didn't match, now I fixed it

<option value="xxl">XXL</option>
</select>
</fieldset>
<button type="submit" style="min-width:48px; min-height:48px;">Order</button>

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 apply styles to these elements? What might be the differences to other approaches to applying styles?

Choose a reason for hiding this comment

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

@khalidbih Could you answer this question?

I'll mark as complete as you have completed the coursework, but would be good to test your understanding here 🙂

<legend>Customer Details</legend>

<label for="customer-name">Name</label>
<input type="text" name="name" id="customerName" minlength="2" placeholder="customer-name" required style="min-width:48px; min-height:48px;">>

Choose a reason for hiding this comment

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

It looks there are duplicate > characters that are showing on the page

image

Copy link
Author

Choose a reason for hiding this comment

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

Yes, deleted the extra > character

<input type="text" name="name" id="customerName" minlength="2" placeholder="customer-name" required style="min-width:48px; min-height:48px;">>

<label for="customer-email">Email</label>
<input type="email" name="email" id="customerEmail" placeholder="customer-email" required style="min-width:48px; min-height:48px;">>

Choose a reason for hiding this comment

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

The placeholder is visible to users of the website - is there a more human-readable placeholder we could use for our inputs?

Copy link
Author

Choose a reason for hiding this comment

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

I used Enter your full name, and Enter your full email. I think this is more human-readable.

@@ -0,0 +1,46 @@
<!DOCTYPE html>

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.

I've used the HTML validator, and it shows no more errors or warnings

Choose a reason for hiding this comment

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

Perfect score on the validator 🙌

@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 27, 2025
@khalidbih khalidbih 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 29, 2025
@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 29, 2025
@CameronDowner
Copy link

Really great commit messages by the way - I can clearly see the changes you've made in this PR 👍

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. Module-Onboarding The name of the module. 📅 Sprint 2 Assigned during Sprint 2 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants