Skip to content

Manchester | 26-ITP-May | Monsur Abdulrahman | Sprint 1 | Form Control#1270

Open
Monsur0001 wants to merge 10 commits into
CodeYourFuture:mainfrom
Monsur0001:form-controls
Open

Manchester | 26-ITP-May | Monsur Abdulrahman | Sprint 1 | Form Control#1270
Monsur0001 wants to merge 10 commits into
CodeYourFuture:mainfrom
Monsur0001:form-controls

Conversation

@Monsur0001
Copy link
Copy Markdown

@Monsur0001 Monsur0001 commented May 14, 2026

Form Control Completed

@netlify
Copy link
Copy Markdown

netlify Bot commented May 14, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit e732d80
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6a08813ac982010009ce68ad
😎 Deploy Preview https://deploy-preview-1270--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: 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.

@Monsur0001 Monsur0001 added Module-Onboarding The name of the module. Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. 📅 Sprint 1 Assigned during Sprint 1 of this module labels May 14, 2026
@Luro91 Luro91 added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label May 15, 2026
Comment thread Form-Controls/index.html
<label for="name">Name</label>
<input
type="text"
name="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.

How can you ensure that the name needs to have at least 2 characters?

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 so much for your response and feedback, I have ensured the form requires at least 2 characters. I included the 'minlength' attribute and value of '2' to solve the issue.

Comment thread Form-Controls/index.html Outdated
<label for="email">Email</label>
<input
type="email"
email="email"
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 w3c validator shows me an error here. "Attribute email not allowed on element input at this point." How can you fix this?

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 so much for your feedback, I have substituted the wrong 'email' attribute to the right one 'name'. Thank you so much.

Comment thread Form-Controls/index.html
Comment on lines +80 to +81
</div>
</fieldset>
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 indentation of the children does not use the standards. How can you ensure consistent formatting in your code?

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 have removed the div placed before the fieldset, to ensure a consistency in 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.

You did not need to remove the div. I was referring to Prettier which you can use to automatically format your code consistently.

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.

Oh! Thank you so much for this. I’ll definitely take that into cognisance

thank you so much for taking the time to review and give adequate feedback

Comment thread Form-Controls/index.html
Comment on lines +47 to +57
<select name="color" id="color" required>
<option value="White">White</option>
<option value="Green">Green</option>
<option value="Black">Black</option>
</select>
</div>
<div>
<fieldset>
<Legend>Size</Legend>

<div class="size-option">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

A note on the different types of form inputs. I would use a radio button if there are only a few options and a dropdown menu if there are a lot of options. (Space is often limited on pages, and this can save some space). So I would switch the types for colors and sizes. (You don't need to change it now. Just something you can consider the next time)

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 so much for your feedback and enlightenment on this. I will put that into cognizance next time. I really do appreciate that.

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

Thanks for addressing the comments and thanks for using single commits for each of the fixes. This makes it easier to follow.

@Luro91 Luro91 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 15, 2026
@Monsur0001
Copy link
Copy Markdown
Author

Thank you so much for the kind words, and for taking the time to review my 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 1 Assigned during Sprint 1 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants