Skip to content

Glasgow | 26-ITP-May | Sandani Kannangara | Sprint 1 | Form Controls - #1288

Closed
SandzSoft wants to merge 7 commits into
CodeYourFuture:mainfrom
SandzSoft:form-controls
Closed

Glasgow | 26-ITP-May | Sandani Kannangara | Sprint 1 | Form Controls#1288
SandzSoft wants to merge 7 commits into
CodeYourFuture:mainfrom
SandzSoft:form-controls

Conversation

@SandzSoft

Copy link
Copy Markdown

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

A semantic HTML form
Required name and email validation
T-shirt colour selection
T-shirt size selection
CSS styling using Flexbox layout
Accessibility improvements

@netlify

netlifyBot commented May 16, 2026

Copy link
Copy Markdown

Deploy Preview for cyf-onboarding-module ready!

NameLink
🔨 Latest commit8a64dd7
🔍 Latest deploy loghttps://app.netlify.com/projects/cyf-onboarding-module/deploys/6a19e4adbf43ff0008e6ed0f
😎 Deploy Previewhttps://deploy-preview-1288--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: 91 (🟢 up 5 from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changesRun 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.

@SandzSoftSandzSoft changed the title Glasgow | 26-May-ITP | Sandani Kannangara | Sprint1 | Form ControlsGlasgow | 26-May-ITP | Sandani Kannangara | Sprint 1 | Form ControlsMay 16, 2026
@SandzSoftSandzSoft added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 16, 2026
@SandzSoftSandzSoft changed the title Glasgow | 26-May-ITP | Sandani Kannangara | Sprint 1 | Form ControlsGlasgow | 26-ITP-May | Sandani Kannangara | Sprint 1 | Form ControlsMay 16, 2026
@Luro91Luro91 added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label May 20, 2026

@Luro91Luro91 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks quiet good. Everything is working as expected. I have some comments on the code formatting

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice styling of the form. I like how it looks

Comment threadForm-Controls/index.html Outdated
Comment on lines 12 to 13
<div class="container">
<header>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The standard is to use intendation for children elements to make it easer to understand the html structure.How can you ensure consistent formatting in your code automatically?

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.

I can ensure consistent formatting automatically by using a code formatter like Prettier in VS Code with “format on save” enabled, so indentation and structure are cleaned automatically every time I save the file.

Comment threadForm-Controls/index.html Outdated
this will also help you fill in your PR message later-->
<div class="field">
<label for="customer_name">Name :</label>
<input minlength="2" required type="text" id="customer_name" name="customer_name">

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 on the validation

Comment threadForm-Controls/index.html Outdated
Comment on lines +51 to +54




Copy link
Copy Markdown

Choose a reason for hiding this comment

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

These new lines are not needed.

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.

Thank you for the feedback. I've removed the unnecessary blank lines.

@Luro91Luro91 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 May 20, 2026
@SandzSoftSandzSoft added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 26, 2026

@Luro91Luro91 left a comment

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 a lighthouse score of 100?

Image

@Luro91Luro91 removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 27, 2026
@SandzSoft

SandzSoft commented May 27, 2026

Copy link
Copy Markdown
Author

How can you ensure a lighthouse score of 100?
Thank you for the feedback.
Use semantic HTML (header, main, footer)
Compress and optimize images
Keep CSS and JavaScript small
Add alt text to images
Use labels for form inputs
Make the site mobile-friendly
Fix accessibility and console errors
Use fast loading and responsive design
Avoid unnecessary animations

@SandzSoftSandzSoft added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 27, 2026
@Luro91

Copy link
Copy Markdown

How can you ensure a lighthouse score of 100?
Thank you for the feedback.
Use semantic HTML (header, main, footer)
Compress and optimize images
Keep CSS and JavaScript small
Add alt text to images
Use labels for form inputs
Make the site mobile-friendly
Fix accessibility and console errors
Use fast loading and responsive design
Avoid unnecessary animations

In this case the SEO rating is at 90. Can you change the code to get it to 100?

@Luro91Luro91 removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 27, 2026
@SandzSoft

Copy link
Copy Markdown
Author

In this case the SEO rating is at 90. Can you change the code to get it to 100?

Thanks for the review. I didn’t notice the comment earlier because Lighthouse was showing 100% when I checked it before. However, I’ve now made several improvements to the page, including accessibility and responsive styling updates, to improve the overall Lighthouse scores.

@SandzSoftSandzSoft added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 27, 2026

@Luro91Luro91 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

When I run lighthouse in Chrome it shows me a score of 90 for SEO. How can you improve this to 100?

Image

@Luro91Luro91 removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 29, 2026
@SandzSoft

Copy link
Copy Markdown
Author

When I run lighthouse in Chrome it shows me a score of 90 for SEO. How can you improve this to 100?

Image

Thanks for the review. When I initially ran Lighthouse, the SEO section was unticked, so I didn’t realise the score was lower because I was mainly checking the other categories. I’ve now updated the page by adding a meta description and making several accessibility and responsive styling improvements to improve the overall Lighthouse score.

@SandzSoftSandzSoft added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 29, 2026

@Luro91Luro91 left a comment

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 the code works as expected and easy to read.

@Luro91Luro91 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. Reviewed Volunteer to add when completing a review with trainee action still to take. labels May 30, 2026
@illicitonion

Copy link
Copy Markdown
Member

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

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CompleteVolunteer 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

@SandzSoft@Luro91@illicitonion