Skip to content

ZA | May-2025 | Fikiswa Matoti | Form controls #680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
38b0803
Added the page title and the page title's short description.
FiksMat May 31, 2025
dd11bd7
Added the article about the purpose of a README file.
FiksMat May 31, 2025
9bfa933
Added the article about the purpose of a wireframe.
FiksMat May 31, 2025
ca7c2bd
Added the article about what a branch is in Git.
FiksMat May 31, 2025
39fdd4b
I updated the footer.
FiksMat May 31, 2025
7bf49fb
Added the images for all articles on the site.
FiksMat May 31, 2025
f57fe69
Updated the image of the article about README files and included its …
FiksMat May 31, 2025
ecb1f81
Updated the image of the article about the purpose of a wireframe and…
FiksMat May 31, 2025
78f52f1
Updated the image of the article about what a branch is in Git and in…
FiksMat May 31, 2025
3d1a764
Deleted an image from the wireframe article and replaced it.
FiksMat May 31, 2025
8cde94e
Styled the page title and its description.
FiksMat May 31, 2025
19de6fb
Placed a full stop at the end of the 2nd sentence in the article abou…
FiksMat May 31, 2025
abd9544
Updated the footer to include my name.
FiksMat Jun 2, 2025
b9b2251
Added the Customer details part of the form.
FiksMat Jun 2, 2025
1e26363
Added the T-shirt colours.
FiksMat Jun 2, 2025
64e8861
Added the T-shirt sizes.
FiksMat Jun 2, 2025
581299d
Added a fieldset for Customer details
FiksMat Jun 2, 2025
a007306
Added fieldsets and legends for T-shirt colours and sizes
FiksMat Jun 2, 2025
f8426af
Updated the fieldsets for T-shirt colours and sizes.
FiksMat Jun 2, 2025
d38b4bc
Updated the T-shirt size fieldset.
FiksMat Jun 2, 2025
0479b65
Updated Customer details fieldset with placeholders.
FiksMat Jun 2, 2025
3bdc21d
Updated all the fieldsets.
FiksMat Jun 2, 2025
7a007f0
This was a second update to all the fieldsets.
FiksMat Jun 2, 2025
01f89e3
Updated all the fieldsets.
FiksMat Jun 2, 2025
7440147
Defined a valid first name and last name as a text string of two char…
FiksMat Jun 2, 2025
0a69c0b
Updated all fieldsets and added a submit button.
FiksMat Jun 2, 2025
e8032a3
Update the submit button.
FiksMat Jun 2, 2025
87f220b
Deleted the comments.
FiksMat Jun 2, 2025
5a83a9b
Updated Customer details.
FiksMat Jun 2, 2025
8b18baf
Deleted the CSS in the 1st fieldset titled Customer details.
FiksMat Jun 3, 2025
2ac0a7c
Updated the fieldset titled "Select your t-shirt size".
FiksMat Jun 3, 2025
1e8c258
Update the wireframe folder
FiksMat Jun 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 33 additions & 6 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,42 @@ <h1>Product Pick</h1>
</header>
<main>
<form>
<!-- write your html here-->
<!--
try writing out the requirements first as comments
this will also help you fill in your PR message later-->
<fieldset>
<legend><strong>Customer Details</strong></legend><br />
<div>
<label for="firstName">First Name:</label>
<input type="text" name="firstName" id="firstName" minlength="2" maxlength="40" pattern="[A-Za-z\s]{2,}" placeholder="Jane" required />
</div><br />
<div>
<label for="lastName">Last Name:</label>
<input type="text" name="lastName" id="lastName" minlength="2" maxlength="40" pattern="[A-Za-z\s]{2,}" placeholder="Doe" required />
</div><br />
<div><label for="email">Email:</label>
<input type="email" name="email" id="email" placeholder="[email protected]" required />
</div><br />
</fieldset><br />
<fieldset>
<legend><strong>Select your t-shirt colour</strong></legend>
<label for="red"><input type="radio" name="red-grey-black" id="red" value="Red" required />Red</label>
<label for="grey"><input type="radio" name="red-grey-black" id="grey" value="Grey" required />Grey</label>
<label for="black"><input type="radio" name="red-grey-black" id="black" value="Black" required />Black</label>
</fieldset><br />
<fieldset>
<legend><strong>Select your t-shirt size</strong></legend>
<label><input type="radio" name="size" id="xs" value="XS" required />XS</label>
<label><input type="radio" name="size" id="s" value="S" required />S</label>
<label><input type="radio" name="size" id="m" value="M" required />M</label>
<label><input type="radio" name="size" id="l" value="L" required />L</label>
<label><input type="radio" name="size" id="xl" value="XL" required />XL</label>
<label><input type="radio" name="size" id="xxl" value="XXL" required />XXL</label>
</fieldset><br />
<div>
<button type="submit">Submit</button>
</div>
</form>
</main>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
<h2>By Fikiswa</h2>
</footer>
</body>
</html>