Hi guys, my problem is at this radio buttons topic, when i create the line code that you see.
<label>
<input id="indoor" type="radio" name="indoor-outdoor">Indoor
</label>
<label>
<input id="outdoor" type="radio"
name="indoor-outdoor">Outdoor
</label>
When i run it to test it, the console tells me “Each of your radio button elements should be added within the form tag.” so, what i did is this
<form
<label>
<input id="indoor" type="radio" name="indoor-outdoor">Indoor
</label>
<label>
<input id="outdoor" type="radio"
name="indoor-outdoor">Outdoor
</label>
</form>
And the console says that i need to put a label element and an indoor tag, it´s like the form tag doesn´t let the console read the rest of the code, i don´t know what to do. I need some help.
Thank you for read.
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Safari/537.36
.
Challenge: Create a Set of Radio Buttons
Link to the challenge: