Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c004307
I changed the header for the body
divinmank Jan 26, 2026
6529e71
Finished the content for article 2 and 3
divinmank Jan 26, 2026
c51d6cc
Added a hash instead of a link in html
divinmank Jan 26, 2026
91de83b
I added images to the background.
divinmank Jan 26, 2026
cd44d17
Corrected CSS
divinmank Jan 26, 2026
23b9781
Corrected image address
divinmank Jan 26, 2026
fdfaf6d
Changed text to white
divinmank Jan 26, 2026
04fa1ee
Changed text to white
divinmank Jan 26, 2026
038d24e
Text change to white
divinmank Jan 26, 2026
baef6b3
Fixed background
divinmank Jan 26, 2026
bae3ed5
Created the Input fields and added a submit button.
divinmank Jan 29, 2026
888b0ed
Created the Input fields and added a submit button.
divinmank Jan 29, 2026
eb3da85
Made another html page for the GET action and have added ids and labe…
divinmank Jan 29, 2026
b31f408
Added checkboxes
divinmank Jan 29, 2026
f56e156
Added checkbox for sizes
divinmank Jan 29, 2026
f76d6f4
Added placeholders for the other options
divinmank Jan 29, 2026
af18453
Changed attribtue type from checkbox to radio to allow for only one s…
divinmank Jan 29, 2026
1ac8d59
Corrected mistake with radio types
divinmank Jan 29, 2026
0037049
Fixed mistake with two inputs for one prompt
divinmank Jan 29, 2026
366151a
fixed accessibility
divinmank Jan 29, 2026
7b7f3f1
cleaned up email and name
divinmank Jan 29, 2026
e667bbd
cleaned up code
divinmank Jan 29, 2026
d1711be
Collaborated and updated code to get good scores on lighthouse
divinmank Jan 29, 2026
73cf850
reverted code back to dummy
divinmank Jan 29, 2026
75f4272
Final changes
divinmank Jan 29, 2026
9cbf78a
final edit
divinmank Jan 30, 2026
a818f57
Reverted wireframe to original
divinmank Jan 30, 2026
fe591a8
adddeed space
divinmank Jan 30, 2026
2d0cd5e
removed spaces
divinmank Jan 30, 2026
1056972
reverted css
divinmank Jan 30, 2026
2741304
extra space
divinmank Jan 30, 2026
be48072
removed spaces
divinmank Jan 30, 2026
7de9d48
removed extra
divinmank Jan 30, 2026
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
48 changes: 47 additions & 1 deletion Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,57 @@ <h1>Product Pick</h1>
<!--
try writing out the requirements first as comments
this will also help you fill in your PR message later-->
<div>
<label for="name">Name</label>
<input type="text" name="name" id="name" placeholder="username" minlength="2" required/>
</div>

<div>
<label for="email">Email</label>
<input type="email" name="email" id="email" required />
</div>

<fieldset>
<legend>Choose a Colour </legend>
<div>
<label for="red">Red</label>
<input type="radio" name="colour" id="red" value="red" required />
</div>

<div>
<label for="Green">Green</label>
<input type="radio" name="colour" id="Green" value="Green" />
</div>

<div>
<label for="Blue">Blue</label>
<input type="radio" name="colour" id="Blue" value="blue" />
</div>
</fieldset>



<div>
<label for="Sizes">Size</label>
<select name="Size" id="Sizes" required>
<option value="">Select a size </option>
<option value="XS">XS</option>
<option value="S">S</option>
<option value="M">M</option>
<option value="L">L</option>
<option value="XL">XL</option>
<option value="XXL">XXL</option>
</select>
</div>

<button type="reset">Reset</button>
<button type="submit">Submit</button>
</form>
</main>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
<h2>Divine</h2>
</footer>
</body>
</html>

20 changes: 20 additions & 0 deletions Form-Controls/results.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie-edge">
<title>Results</title>
</head>
<body>
<div id="results"></div>
<a href="/">Back to Form</a>
<script>
const resultsList = document.getElementById('results')
new URLSearchParams(window.location.search).forEach((value,name) => {
resultsList.append(`${name}: ${value}`)
resultsList.append(document.createElement('br'))
})
</script>
</body>
</html>