Commit a9f0abbf authored by colmoneill's avatar colmoneill
Browse files

adding a going beyond section to the practical

parent 68cd41be
......@@ -12,3 +12,20 @@ This is a type of validation feedback that informs the user that the form has be
## Deliverable:
Create a repo that contains all your code, in the ui-programming-21-22 group, then submit a link to the repository in the CA submissions spreadsheet.
## Going beyond the practical
* try experimenting with the `required` attribute that can be added to `<input>` declarations.
* identify the different between `<input type="radio">` and `<input type="checkbox">`
* use a checkbox input and make sure you can extract and isolate the values that matter:
<form action="/">
<input type="checkbox" id="vehicle1" name="vehicle1" value="Bike">
<label for="vehicle1"> I have a bike</label><br>
<input type="checkbox" id="vehicle2" name="vehicle2" value="Car">
<label for="vehicle2"> I have a car</label><br>
<input type="checkbox" id="vehicle3" name="vehicle3" value="Boat">
<label for="vehicle3"> I have a boat</label><br><br>
<input type="submit" value="Submit">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment