I thought I already nested each of the inputs inside a label???
Hi @capitalreckless, welcome to the forum!
Could you show us the code you are having trouble with? If you are stuck on one of the challenges, you can click the ‘ask for help’ button.
We can’t help if we can’t see your code!
If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.
I thought I already nested each of the inputs in a label??
but i keep getting these " Each of your two radio button elements should be nested in its own label element."
<form action="www.google.com"> <label for="indoor-outdoor"> <input type="radio" name="indoor-outdoor"> indoor</input> <br> </label> <label for="indoor-outdoor"> <input type="radio" name="indoor-outdoor"> outdoor</input> <br> </label> <button type="submit"> submit</button> </form>
Sorry about the double post, misclicked the 1st one
Why did you change the form element? I don’t think that you need to touch the form, only add radio buttons.
Here is the challenge you seem to be working on?
yes that one. So the issue isn’t that I nested the inputs wrongly but that I changed the form link?
That and your radio button elements should have an
id and you shouldn’t stick a
br in there.
deleted the br, it worked… thanks. How to make the radios like a list though? use ul?
You can add
brs, but I would stick them outside of the label. The label should just be on the thing you’re labeling.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.