-
-
Notifications
You must be signed in to change notification settings - Fork 310
London| Sep 25 ITP| Daniel Solomon | Sprint 2| Form-Controls #844
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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). |
3 similar comments
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). |
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). |
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). |
You forgot to add the "Needs review" label to this PR. |
The label is done, I was struggling to add the label using my phone that is why. can you check it again and if there is something that I need to fix? |
There was a problem hiding this comment.
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? -
The Lighthouse score is not yet 100. Can you improve it to 100?
-
Suggestion: You can try feeding your code to ChatGPT for second opinion, and see if it can give you some useful suggestions.
Form-Controls/index.html
Outdated
<!-- replace with your own name --> | ||
<h2>By HOMEWORK SOLUTION</h2> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You missed updating this.
I just noticed the PR description does not have a "Changelist" section. Can you include a "Changelist" section and give a brief description of this PR? |
I can check on my mobile using chrome actually, the accessibility is 100
now as we can see when I test it on lighthouse.
…On Sunday, September 28, 2025, CJ Yuan ***@***.***> wrote:
*cjyuan* left a comment (CodeYourFuture/Module-Onboarding#844)
<#844 (comment)>
The code has been improved a lot. However, the following issues still
remain:
1. *The Lighthouse Accessibility score is 95 but a score of 100 is
needed to meet the requirement.*
Since you are using only smartphone, you might not be able to use
Lighthouse to test your page.
Here is a screenshot of what Lighthouse indicates, Touch targets do not
have sufficient size or spacing.
image.png (view on web)
<https://github.com/user-attachments/assets/b7c362cf-48f7-46b9-adbd-a9c46dda5db2>
Can you find out from ChatGPT "how to address the Touch targets do not
have sufficient size or spacing issue without using CSS"?
2. *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?
------------------------------
You do not need to DM me on Slack. If you leave a comment on this PR, I
will get notified by email.
—
Reply to this email directly, view it on GitHub
<#844 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BTQPWO3T2DPG4KVOIJ3F5PD3VAG37AVCNFSM6AAAAACHGJ4V42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGNBTHA3TIOBXGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The spec does not quite specify what constitutes a valid name, so any form of pattern is a good start. Good job. The spec says "no CSS", and I will mark this PR as "Complete" first. You can now submit Step 1 on the Course Portal and apply to become a trainee so that you can loan a laptop from CYF. |
Thanks again for assessing my project. I’ll register as a trainee now. |
London| Sep 25 ITP| Daniel Solomon |Sprint 2|Form-Controls
Self checklist
Changelist
I have replaced h2 by home work solution with my own name
I have edited and tested my code in order to meet the requirements of the task
I have improved accessibility to 100