Skip to content

Conversation

@DamianDL
Copy link

@DamianDL DamianDL commented Jan 23, 2026

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

How to save attributes

Questions

No outstanding questions yet

@netlify
Copy link

netlify bot commented Jan 23, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit d0bb4ed
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/697b665660e22c0008cda176
😎 Deploy Preview https://deploy-preview-1027--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: 77 (🔴 down 9 from production)
PWA: -
View the detailed breakdown and full score reports

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

@DamianDL DamianDL added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jan 23, 2026
@github-actions

This comment has been minimized.

@DamianDL DamianDL added the ⚙️ bug Something isn't working label Jan 26, 2026
@github-actions

This comment has been minimized.

@DamianDL
Copy link
Author

Please can I have some help.

  1. I have managed to revert the branch back to the initial commit, but cannot revert it back to the original Wireframe files.. I have done this using the git revert . Where can I find the hex id for the unchanged branch? Or should I use another command/approach? Thanks.

@DamianDL DamianDL added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed ⚙️ bug Something isn't working labels Jan 27, 2026
@DamianDL
Copy link
Author

Updated with changes to meet requirements;

  • I have used HTML only.
  • I have not used any CSS or JavaScript.

HTML

  • My form is semantic html.
  • All inputs have associated labels.
  • My Lighthouse Accessibility score is 100.
  • I require a valid name. I have defined a valid name as a text string of two characters or more.
  • I require a valid email of the format "texx@text.text"
  • I require one colour from a defined set of 3 colours.- Red, Blue, Green
  • I require one size from a defined set of 6 sizes. -XS, S, M, L, XL, XXL

@cjyuan cjyuan added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jan 29, 2026
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.

According to https://validator.w3.org/, there are errors in your code. Can you fix them?

Comment on lines +24 to +28
<style>
label {
font-size: 24px;
}
</style>
Copy link
Contributor

Choose a reason for hiding this comment

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

Normal practice is to keep embedded CSS in the <head> section.

<div>
<!-- Name: at least 2 characters -->
<label for="name">Name:</label>
<input type="text" id="name" name="name" required pattern=".{2,}" title="Name must be at least 2 characters long">
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 pattern to disallow any name that contains only space characters?

Note: To enforce minimum number of characters in the input, it is better to use the minlength attribute.

<div>
<!-- Email: basic format text@text.text -->
<label for="email">Email:</label>
<input type="email" id="email" name="email" required pattern="^[^@\s]+@[^@\s]+\.[^@\s]+$" title="Enter a valid email like user@example.com">
Copy link
Contributor

Choose a reason for hiding this comment

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

Why use pattern in <input type="email"> when browsers can already perform built-in email validation?

Comment on lines +60 to +63
<option value="XXL">XXL</option>
</select>
</div>

Copy link
Contributor

Choose a reason for hiding this comment

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

The indentation of some of the code is off. Can you improve the indentation?

VSCode's "Format Document" feature can help us format our code for better readability and consistency.
To use the feature, right-click inside the code editor and select the option.

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Jan 29, 2026
@cjyuan
Copy link
Contributor

cjyuan commented Jan 29, 2026

In the Changelist section of the PR description, I am not sure what you mean by "How to save attributes". Can you update it accordingly to give a brief but clearer description of what you have changed in this PR branch?

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 with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants