Skip to content

Sheffield | 3 May-2025 | Xiayidan Abuduxukuer | Form Controls #705

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 4 commits into
base: main
Choose a base branch
from

Conversation

Shayida999
Copy link

Learners, PR Template

Self checklist,

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | PROJ_NAME
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

  • Created a semantic HTML form for t-shirt orders.
  • Includes required fields: name (min 2 characters), email (valid format), colour (3 radio options), size (6 select options).
  • All form inputs have proper labels.
  • No CSS or JavaScript used, per task requirements.

Questions

None at the moment — ready for review!

Copy link

netlify bot commented Jun 5, 2025

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit aa35b5f
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/68433900581623000857cadc
😎 Deploy Preview https://deploy-preview-705--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: 98 (🔴 down 2 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.

@Shayida999 Shayida999 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.

Code is error-free and well-indented. Form implementation is solid and PR description is nicely prepared. Excellent!

A PR branch should include only the changes relevant to the specific task or feature it addresses. This branch, created for the "Form-Controls" exercise, currently contains some unrelated changes (see pic)
image
Note: I assume these four files are not part of your form implementation.

Can you carry out the following steps to make this branch clean?

  1. In form-controls-completed branch, delete the sub-folder wireframe-task.
  2. In form-controls-completed branch, replace both index.html and style.css in the "Wireframe" folder by the version of the files in the main branch. You can download them from here:
    https://github.com/Shayida999/Module-Onboarding/tree/main/Wireframe
  3. Commit the change (there should be 4 affected files)
  4. Push your commit to Github.

Comment on lines 22 to 29
<input
type="Text"
id="CustomerName"
name="CustomerName"
required
minlength="2"
aria-describedby="NameHelp"
/>
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?

Copy link
Author

Choose a reason for hiding this comment

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

Hi CJ.

I have now:

Removed the wireframe-task folder
Restored the correct Wireframe files from main
Added a pattern to the name input to block whitespace-only names

Is everything ok now?? Thank you

@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
@cjyuan
Copy link
Contributor

cjyuan commented Jun 6, 2025

Changes look good! Well done!

@cjyuan cjyuan added Complete Volunteer to add when work is complete and review comments have been addressed and removed Reviewed Volunteer to add when completing a review labels Jun 6, 2025
@Shayida999 Shayida999 removed the Complete Volunteer to add when work is complete and review comments have been addressed label Jun 6, 2025
@Shayida999
Copy link
Author

@cjyuan

I’m really glad everything looks good now — thank you so much!

I just wanted to let you know: while I was checking your feedback, my baby accidentally pressed some keys on my laptop 😅 and I think something may have been deleted in the “Labels” section on GitHub. So sorry about that TvT.

and i have one more question ,just to confirm, is the final step now to complete the Duolingo test? Should I aim to finish it today?

@cjyuan cjyuan added the Complete Volunteer to add when work is complete and review comments have been addressed label Jun 6, 2025
@cjyuan
Copy link
Contributor

cjyuan commented Jun 6, 2025

I responded your question about Duolingo test on Slack.

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 review comments have been addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants