value
doesn’t strictly need to be provided for checkboxes. if it’s not provided, then what value would it default to on the backend? (in the sense that with the one example, for a radio button with name="indoor-outdoor"
, the default value if either of the radio buttons was clicked would be indoor-outdoor=on
.background-color
instead of background
, if the latter is more flexible (can take either a color OR an image)? i guess it’s more explicit and that makes for more readable code?what’s the definition of viewport anyway?
Why do they have us use a percent for one and vh for the other? Is it because 100%
height could take up more than one screen length, whereas 100vh
takes up only exactly one screen length?
What would happen if the parent element of something with height: 100vh
was more than one screen long?
any difference between using an input element vs button element for the submit button? is there a best practice about it?
are there any guidelines for when to use a select dropdown vs when to use a series of radio buttons?
youtube video (embed): “how do you submit an html form?”