Cant fulfill this requirement

I dont understand the requirement. First one is obvious but cant seem to work. But I dont understand the second one at all. How can I make sub radios?

Following are the requirements and my code
‘’’'All your radio buttons should have a name attribute and value.

Every radio button group should have at least 2 radio buttons.’’’’

My Code


<title>Survey Form</title>

<link rel="stylesheet" type="text/css" href="styles.css">


<h1 id="title">Survey Form</h1>


  <p id="description">

    Here is a survey form on do you like cats or dogs


    <form id="survey-form">

      <input id="name" type="text" placeholder="Name" required>

      <input id="email" type="email" placeholder="Email"  required>

      <input id="number" type="number" min="12" max="25" placeholder="Number">

      <label id="name-label">Name


        <label id="email-label">Email


          <label id="number-label">Number





im still new and grasping a solid undersanding but i think you wanna give both radio buttons a name attribute so when you learn to send information, you can see what option the user picked.
so it wants you to make two radio buttons with a name and value attribute…

<input type="radio" name="animal"  value="dog"/>

heres what i used in my survey as an example

<p>What do you think of my memes?</p>
           <label class="block"><input type="radio" value="hate" id="hate" name="Opinion">You Suck!</label> 
           <label class="block"><input type="radio" value="content" id="content" name="Opinion">They Aight.</label>
           <label class="block"><input type="radio" value="love" id="love" name="Opinion">Oh Daddy!</label>
1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.