Skip to content

Conversation

@Ify-O
Copy link
Owner

@Ify-O Ify-O commented Nov 18, 2025

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 | FirstName LastName | Sprint | Assignment Title
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Briefly explain your PR.

Refactored the order form for improved accessibility, structure, and visual consistency. Updated heading hierarchy, enhanced styling, improved form validation patterns, aligned layout elements, and cleaned up code formatting for better readability and user experience.

Questions

Ask any questions you have for your reviewer.

Ify-O added 18 commits November 14, 2025 13:39
Added logo image and improved form styling for better visual presentation.
…ayout, and ensure required fields are properly set
@netlify
Copy link

netlify bot commented Nov 18, 2025

Deploy Preview for ify-webform ready!

Name Link
🔨 Latest commit 237d05b
🔍 Latest deploy log https://app.netlify.com/projects/ify-webform/deploys/6928ec9b46e95e00085b64e1
😎 Deploy Preview https://deploy-preview-3--ify-webform.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
Accessibility: 100
Best Practices: 100
SEO: 86
PWA: -
View the detailed breakdown and full score reports

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

<!--Decide on three available t-shirt colour options and
ensure the customer can only select from those choices.-->
<div>
<label for="color" style="white-space: nowrap;">Colors Available*</label><br>
Copy link

Choose a reason for hiding this comment

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

issue (blocking): I am seeing the following error here:

Invalid id reference

for must refer to an element's id, and there is no element with id equal to color.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Changes applied. Please review. Thank you.

<input type="text" id="surname" name="surname"
placeholder="Your surname here"
required
pattern="[A-Za-zÀ-ÿ\s'-]{2,}"
Copy link

Choose a reason for hiding this comment

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

note: Name validation always reminds me of this fun article (;

Copy link

Choose a reason for hiding this comment

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

(also, I'm pretty sure my name would not work with this pattern 🥲)

Copy link
Owner Author

Choose a reason for hiding this comment

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

Updated the pattern, and now your name will be accepted!

Comment on lines 77 to 78
pattern="[A-Za-zÀ-ÿ\s'-]{2,}"
title="Surname must contain at least 2 letters."><br><br>
Copy link

Choose a reason for hiding this comment

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

issue (if-minor): The validation here is not consistent with the description, as the name must not only contain at least 2 characters, but also match a specific set of characters.

Copy link
Owner Author

Choose a reason for hiding this comment

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

I have updated the validation to be consistent with the description :)

Copy link
Owner Author

@Ify-O Ify-O Nov 28, 2025

Choose a reason for hiding this comment

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

I have updated the validation pattern to include special characters and also be consistent with the description.

Comment on lines +9 to +48
<style>
body {
font-family: Georgia, 'Times New Roman', Times, serif;
margin: 20px;
background-color: #f8e583;
}
header {
margin-bottom: 20px;
text-align: center;
}
label {
display: inline-block;
width: 120px;
margin-bottom: 10px;
margin-top: 10px;
font-weight: bold;
}

input[type="text"],
input[type="email"],
select {
width: 200px;
padding: 5px;
margin-bottom: 10px;
}
::placeholder {
font-style: italic;
color: #a9a9a9;
}
button {
width: 50px;
padding: 5px 10px 10px 5px;
margin-right: 20px;
cursor: pointer;
background-color: #5e2102;
color: #ffe5d9;
border: #000;
border-radius: 5px;
}
</style>
Copy link

Choose a reason for hiding this comment

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

suggestion (non-blocking): Ideally CSS should be placed in a separate file (;

Copy link
Owner Author

Choose a reason for hiding this comment

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

Very true, but the instructions given were to use only HTML to create the Form.

<title>My form exercise</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
Copy link

Choose a reason for hiding this comment

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

praise: Very elaborate design, good job!!!

Copy link
Owner Author

Choose a reason for hiding this comment

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

Thank you!

@Ify-O Ify-O changed the title Barcelona | Oct-2025 | Ifeoma Osegbo | Sprint 2 | WebForm PR Barcelona | Oct-2025 | Ifeoma Osegbo | Sprint 2 | Form Controls Dec 5, 2025
@Ify-O
Copy link
Owner Author

Ify-O commented Dec 5, 2025

Hello @Jezorko, hope you're doing well? Thank you for taking the time to go through the PR. Just wanted to check if everything was okay to merge.

@Ify-O Ify-O merged commit 964fbbb into main Dec 30, 2025
4 checks passed
@Ify-O Ify-O deleted the Ify-O-bodyContents branch December 30, 2025 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants