Skip to content

Cape Town | 26-ITP-Sep | Sima Nongawuza | Sprint 1 | CYF-1004 - #1529

Open
simanongawuza wants to merge 8 commits into
CodeYourFuture:mainfrom
simanongawuza:feature/form-controls
Open

simanongawuza wants to merge 8 commits into
CodeYourFuture:mainfrom
simanongawuza:feature/form-controls

Conversation

@simanongawuza

@simanongawuza simanongawuza commented Sep 16, 2026 •

Copy link
Copy Markdown

Task ID: CYF-1004

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 changed and added my Name and surname to the footer.
  • I added some form controls to collect the name and email address, and also give an option to choose the colour and size of the T-shirt
  • Added submit button

@netlify

netlify Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 73c7b0d
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6aabd8a675a3370007075484
😎 Deploy Preview https://deploy-preview-1529--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: 92 (🔴 down 8 from production)
Best Practices: 100 (no change from production)
SEO: 82 (🔴 down 4 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.

@simanongawuza simanongawuza changed the title Cape Town | 26-ITP-Sep | Sima Nongawuza | Sprint 1 | Form Controls Cape Town | 26-ITP-Sep | Sima Nongawuza | Sprint 1 | Form Controls | CYF-1004 Sep 17, 2026
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@simanongawuza simanongawuza changed the title Cape Town | 26-ITP-Sep | Sima Nongawuza | Sprint 1 | Form Controls | CYF-1004 Cape Town | 26-ITP-Sep | Sima Nongawuza | Sprint 1 | CYF-1004 Sep 17, 2026
@github-actions

This comment has been minimized.

@Liam310 Liam310 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Oct 1, 2026
@Luro91 Luro91 added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Oct 2, 2026
Comment thread Form-Controls/index.html
</div>
<div>
<label for="size">Choose a size</label>
<select id="size" name="size">

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 can you ensure that the user chooses a size before submitting the form?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

By using the required attribute in the input tag

Comment thread Form-Controls/index.html
this will also help you fill in your PR message later-->
<div>
<label for="name">Customer Name:</label>
<input type="text" id="name" name="name" required pattern=".*\S.*\S.*" title="Name must contain at least two characters.">

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Well done this also works with special characters like the German ä,ü,ö or Russian ед

@Luro91 Luro91 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. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Oct 2, 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