Skip to content

London | 26-ITP-Sep | Rawan Almutairi | Sprint 1| FormControls - #1627

Open
Rawan0-0 wants to merge 16 commits into
CodeYourFuture:mainfrom
Rawan0-0:sprint-1
Open

Rawan0-0 wants to merge 16 commits into
CodeYourFuture:mainfrom
Rawan0-0:sprint-1

Conversation

@Rawan0-0

@Rawan0-0 Rawan0-0 commented Sep 28, 2026 •

Copy link
Copy Markdown

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

Task code

(e.g. CYF-1004).

Changelist

Sprint 1 work

Questions

no questions.

@netlify

netlify Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit e782c04
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6ac50f37cf56d700082f8036
😎 Deploy Preview https://deploy-preview-1627--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: 82 (🔴 down 4 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.

@github-actions

This comment has been minimized.

@Rawan0-0 Rawan0-0 added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Core This is a core task and should be completed by all trainees labels Sep 28, 2026
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Sep 28, 2026
@github-actions

This comment has been minimized.

3 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@Rawan0-0 Rawan0-0 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 28, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 28, 2026
@Rawan0-0 Rawan0-0 added 📅 Sprint 1 Assigned during Sprint 1 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Core This is a core task and should be completed by all trainees labels Sep 30, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 30, 2026
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@Rawan0-0 Rawan0-0 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 30, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 30, 2026
@github-actions

This comment has been minimized.

@Rawan0-0 Rawan0-0 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 30, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 30, 2026
@abdishakoor-dev abdishakoor-dev 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. labels Sep 30, 2026
@Rawan0-0

Copy link
Copy Markdown
Author

Thanks, Rawan. A few things need fixing before this is Complete. Your colour radios are good: one name, a label each, and required.

  1. Put every field and the Submit button in one form (index.html line 68).
  2. The name must have two non-space characters (line 19).
  3. The size must be one of the six sizes only (line 42).
  4. Give the name and email boxes a label (lines 18 and 62).
  5. Fix the 11 errors from https://validator.w3.org/ on index.html.
  6. Close the body block in style.css (line 1). Then format the files you changed with Prettier. Format on save steps: https://github.com/CodeYourFuture/Module-JavaScript-Fundamentals/blob/main/practical_guide.md
  7. Put your name in the footer (line 74).
  8. Add the task code CYF-1004 to your PR description.

Add the Needs Review label again when you have pushed, and I'll take another look.

Thank you so much for the comprehensive feedback; it's really helpful.

Updated input field for name to include pattern validation.
Fix CSS formatting and remove unnecessary whitespace.
Updated footer name from 'Rawan@' to 'Rawan0-0'.
@Rawan0-0 Rawan0-0 added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Oct 6, 2026

@abdishakoor-dev abdishakoor-dev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The form works properly now: every field is in one form, two spaces no longer pass as a name, and the sizes are radios like the colours. The validator is clean too. Four things left before I can mark it Complete:

  1. The name box still has no label (index.html line 18).
  2. Lighthouse Accessibility is 97 on your latest deploy, and it needs to be 100. The failing check is the heading colour (style.css line 12).
  3. The footer shows your GitHub username. It should show your name, as in your PR title (line 75).
  4. Both files still fail Prettier. Open each file in VS Code, right click in the editor, choose Format Document, and pick Prettier if VS Code asks. Then turn on format on save so it happens every time: https://github.com/CodeYourFuture/Module-JavaScript-Fundamentals/blob/main/practical_guide.md

Add the Needs Review label again when you have pushed, and I'll take another look.

Comment thread Form-Controls/index.html Outdated
<label for="black">Black</label><br>
</p>

<!-- a list of suggestions using the list attribute and the datalist element -->

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This comment talks about a datalist, but you replaced it with radios. Is it still true? The comment on line 67 about a style tag has the same problem. Not blocking, but stale comments confuse the next reader.

Comment thread Form-Controls/style.css Outdated
h1{

font-family: sans-serif;
color: rgba(15, 15, 15, 0.267);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lighthouse fails this heading on colour contrast. The text is dark grey at 27% opacity on a cream background, so it is very faint. Open Lighthouse on your page and read the contrast check. What colour would pass?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed. Lighthouse shows 100 now.

@abdishakoor-dev abdishakoor-dev 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. labels Oct 6, 2026
@Rawan0-0 Rawan0-0 added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Oct 6, 2026
@Rawan0-0 Rawan0-0 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Oct 6, 2026

@abdishakoor-dev abdishakoor-dev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All fixed, marking this as complete, well done.

@abdishakoor-dev abdishakoor-dev 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. labels Oct 6, 2026
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. 📅 Sprint 1 Assigned during Sprint 1 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants