Coding Bootcamp Week 2
Session Two and Three
These sessions were all about building HTML forms.
We learned about the different form input types such as:
Text: creates a form fieldTel: creates a tel form field that displays the number pad to users.Radio: Creates a radio buttonCheckbox: Creates a checkbox Button: Creates a button, which by default has no behavior. Option: Nest this into a Select tag to create a dropdown menu.Select: Creates a dropdown menu when combined with the option tag.Optgroup: Add this tag as the parent element of an option tag, to group together dropdown list options e.g
Indian
-Korma
-Lamb
-Chicken
-Vegetable Datalist: add this as a parent element of a group of Options this creates a searchable text field of options rather than a dropdown menu
Homework
Create a t-shirt order form using some of the above form elements, for specific parts of the form e.g when selecting a t-shirt size, these should be radio buttons.