Can anyone help please?
Help with what? What is your question?
<label for="indoor">
<input id="indoor" value="indoor" type="radio" name="indoor-outdoor">Indoor
</label>
<label for="outdoor">
<input id="outdoor" value="outdoor" type="radio" name="indoor-outdoor">Outdoor
</label>
What is your question?
27
<form action="/submit-cat-photo">
<label><input type="radio"
<label for="indoor">
<input id="indoor" value="indoor" type="radio" name="indoor-outdoor">Indoor
</label>
<label for="outdoor">
<input id="outdoor" value="outdoor" type="radio" name="indoor-outdoor">Outdoor
</label>
<button type="submit">Submit</button>
</form>
</main>
Is not working the above code. Where am I going wrong?
Submit
// running tests One of your checkboxes should have the
value
attribute of
loving
. One of your checkboxes should have the
value
attribute of
lazy
. One of your checkboxes should have the
value
attribute of
energetic
. // tests completed
I am having problem in getting the codes to go pass the radio and checkbox.
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>
) will also add backticks around text.
Note: Backticks are not single quotes.
- You didn’t add any checkboxes.
- You didn’t close your first
input
tag.
Thanks. How do I do that?
Look at your first input
tag. See if you can find the error.
Follow the instructions on how to create checkboxes.