Birmingham | MAY 2026 | Ogbemi Mene | Sprint 1 | Form control#1294
Birmingham | MAY 2026 | Ogbemi Mene | Sprint 1 | Form control#1294meneogbemi42-bit wants to merge 7 commits into
Conversation
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <title>T-shirt sales</title> | ||
| <link rel="stylesheet" href="Untitled-1.css"> |
There was a problem hiding this comment.
What else could you use as file name for the stylesheet to adhere more to standard naming?
| <link rel="stylesheet" href="Untitled-1.css"> | ||
| </head> | ||
|
|
||
| <body> |
There was a problem hiding this comment.
I see 3 errors when checking the file in the w3 validator. How can you fix them?
|
|
||
| <div> | ||
| <label for="name">NAME</label> | ||
| <input type="text" name="name" id="name" placeholder="name" value="name" required> |
There was a problem hiding this comment.
How can you ensure that the name has at least 2 characters?
|
|
||
| <label for="size">size of T-shirt</label> | ||
|
|
||
| <select name="size" id="size" required> |
| <label for="size">size of T-shirt</label> | ||
|
|
||
| <select name="size" id="size" required> | ||
| <option value="XS">XS</option> |
There was a problem hiding this comment.
There is an error in the w3 validator:
Error: The first child option element of a select element with a required attribute, and without a multiple attribute, and without a size attribute whose value is greater than 1, must have either an empty value attribute, or must have no text content. Consider either adding a placeholder option label, or adding a size attribute with a value equal to the number of option elements.


Learners, PR Template
Self checklist
Changelist
on this pull request i created my own form from the beginning with html and css files