Learn HTML by Building a Cat Photo App (Beta)
Step 43
You can use radio buttons for questions where you want only one answer out of multiple options.
Here is an example of a radio button with the option of cat
: <input type="radio"> cat
. Remember that input
elements are self-closing.
Before the text input, add a radio button with the option Indoor
.
<input type="radio">Indoor
<input type="text" name="catphotourl" placeholder="cat photo URL" required>
Try again. This might help:
The text Indoor
should be located directly to the right of your radio
button. Make sure there is a space between the element and the text. You have either omitted the text or have a typo.
I try every typo option with command options like ID, NAME, VALUE etc. and won’t work, I also try with adding line ‘’ also won’t work.