Skip to content

London | May-2025| Hadi Vahidi | Form-controls #698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

HadiVahidi20
Copy link

in this version I just edited the index of Form control whit out changing other files

now the code is completely passed the W3 vlaidating and lighthouse.

in this version I just edited the index of Form control whit out  changing other files
Copy link

netlify bot commented Jun 5, 2025

Deploy Preview for cyf-onboarding-module ready!

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

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

@HadiVahidi20 HadiVahidi20 added the Needs Review Participant to add when requesting review label Jun 5, 2025
Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

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

Form implementation is very solid and code is error free. Nicely done!

  1. Why deleted everything in the PR template when preparing the PR description? Can you restore the PR template, then

    • Check the items in the Self-Checklist to confirm your pull request meets the guidelines (which you have done! Good!)
    • Provide a brief description (under the "Changelist" section) summarizing the purpose of the PR and the changes you’ve made
  2. Can you also address the inline comments I left with the code?

Comment on lines +7 to +29
<style>
.form-group {
margin-bottom: 15px;
}
.radio-option {
display: flex;
align-items: center;
padding: 10px 0;
}
.radio-option input[type="radio"] {
width: 20px;
height: 20px;
margin-right: 8px;
}
select {
padding: 8px;
font-size: 16px;
}
button {
padding: 12px 24px;
font-size: 16px;
}
</style>
Copy link
Contributor

Choose a reason for hiding this comment

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

Spec says "No CSS", can you remove them?

You can use the line break element to create vertical space between input elements.


<div class="form-group">
<label for="name">Full Name (min 2 characters):</label>
<input type="text" id="name" name="name" required minlength="2">
Copy link
Contributor

Choose a reason for hiding this comment

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

Currently a user can enter a name consisting of only space characters (e.g., " "). Can you enforce a stricter validation rule using the pattern attribute to disallow any name that contains only space characters?

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review and removed Needs Review Participant to add when requesting review labels Jun 5, 2025
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants