Every radio button group should have at least 2 radio buttons.Responsive web design

What does it mean by every radio button should have atleast 2 radio buttons.

1 Like

Hey there! Welcome to the forums!

A group of radio buttons are all the <input type="radio"> elements on a page with the same name attribute. So for example:

<input type="radio" name="group1">
<input type="radio" name="group1">

i didnt get it what is this step? plss help


It simply means that both radio buttons should have same “name” attribute.
Eg: <input type=“radio” name=“sameGroup”…>Button1
<input type=“radio” name=“sameGroup”…>Button2


mod edit: solution redacted

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

1 Like