Skip to content

Conversation

@Oussama-Mouggal
Copy link

@Oussama-Mouggal Oussama-Mouggal commented Jan 17, 2026

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

Used html only to create forms with good accebility

Copilot AI review requested due to automatic review settings January 17, 2026 14:56
@Oussama-Mouggal Oussama-Mouggal added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jan 17, 2026
@netlify
Copy link

netlify bot commented Jan 17, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 0e5a82b
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/696bb0259ff2dc0008c8e040
😎 Deploy Preview https://deploy-preview-969--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.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements a product order form for a t-shirt selection system as part of a Code Your Future Sprint 1 assignment. The student has created an HTML-only form with name and email validation, color selection via radio buttons, and size selection via a dropdown menu.

Changes:

  • Implemented form controls with name validation (minimum 2 characters, letters only)
  • Added email input with placeholder and validation
  • Created radio button group for color selection (black, blue, red)
  • Added dropdown select for size options (XS through XXL)

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 5 comments.

File Description
Form-Controls/index.html Added complete form implementation with input validation, radio buttons for color selection, and dropdown for size selection
index.html Root navigation file deleted (appears unintentional)
Wireframe/style.css Minor newline added at end of file
Wireframe/index.html Minor newline added at end of file
Comments suppressed due to low confidence (1)

index.html:1

  • The entire root index.html file has been deleted. This file appears to be a navigation page that lists the coursework projects (Wireframe and Form Controls). Deleting this file breaks the ability to navigate between projects and should be restored. This deletion appears unintentional and unrelated to the Form Controls assignment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<label for="email">Email:</label>
<input type="email" id="email" name="email"placeholder="[email protected]"required />
<br /><br />
<button type="submit">Submit</button>
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

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

The submit button is placed before the color and size selection fields. This creates a confusing user experience as users would typically expect the submit button to appear after all form fields. The submit button should be moved to the end of the form, after all input fields have been collected.

Copilot uses AI. Check for mistakes.
Comment on lines 29 to 38
<input type="radio" id="black" name="color" value="black"/>
<label for="black">black</label>
<br />
<br />
<input type="radio" id="blue" name="color" value="blue"/>
<label for="blue">blue</label>
<br />
<br />
<input type="radio" id="red" name="color" value="red"/>
<label for="red">red</label>
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

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

The color radio buttons are not marked as required, even though the assignment specifies "All fields are required." At least one radio button in the group should have the required attribute to ensure users select a color before submitting.

Copilot uses AI. Check for mistakes.
@Oussama-Mouggal Oussama-Mouggal changed the title London | 26-TIP-Jan | Oussama Mouggal | Sprint 1| Form controls London | 26-ITP-Jan | Oussama Mouggal | Sprint 1| Form controls Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant