When I go to test my code, everything checks out except:
“You should have an
h1 element with an
“Every radio button group should have at least 2 radio buttons.”
my h1 element has an id=“title” and I do have at least 2 radio buttons for each group.
my codepen: https://codepen.io/micmuffinz/pen/wvymqwK
User Agent is:
Mozilla/5.0 (X11; CrOS x86_64 14588.98.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.59 Safari/537.36
Challenge: Build a Survey Form
Link to the challenge:
HI @micmuffinz !
Welcome to the forum!
The problem is here
<h1 id="title">freeCodeCamp Survey Form</h1>
You have duplicate ids which you should not do in html.
Once you fix that, then it will pass
Thank you! I just realized that before I saw your comment lol any suggestions on the radio button issue?
Right now your radio buttons are not working correctly.
I can select all of the radio button options, which is not the correct behavior
The correct behavior is to only be able to select one option.
Your issue has to deal with the name attributes
Take a close look at the docs to see the correct usage for the name attributes when it comes to the radio buttons.
Once you fix both sets of radio buttons, then it will pass