Radio button fifthteen #

I’m not sure where I went wrong saying I need two radio buttons

<!DOCTYPE html>
<html>
  <link rel="stylesheet" href="styles.css">
  <head></head>
  <body>
    <h1 id="title">Code Camp Survey</h1>
    <p id="description">freeCodeCamp Survey Form</p>
    <form id="survey-form">
      <label id="name-label">Name</label>
      <input id="name" type="text" placeholder="Name" required>
      <input type="text" class="form-control" id="name" name="name" placeholder="Name" required />
      <br></br>
      <label id="email-label">Email</label>
      <input id="email" name="email" class="form-control" type="email" placeholder="Email" required>
      <br></br>
      <label id="number-label">Number</label>
      <input id="number" type="number" min="0" max="120" placeholder="0">
      <p>What is your favorite song?</p>
      <select id="dropdown">
        <option>Hey Joe</option>
        <option>Last Dance With Mary Jane</option>
        <option>Drain you</option>
      </select>
      <br></br>
      <p>Who's your favorite artist?</p>
      <input id="Hendrix" type="radio" type="radio" value="Hendrix" name="Hendrix">
      <label for="Hendrix">Hendrix</label>
      <br>
      <input id="Cobain" type="radio" type="radio" value="Cobain" name="Cobain">
      <label for="Cobain">Cobain</label>
      <br>
      <input id="Winehouse" type="radio" value="Winehouse" name="Winehouse">
      <label for="Winehouse">Winehouse</label>
      <br>
      <P>Do you make music </p>
      <input type="checkbox" value="music">
      <label for="Music">Yes</label>
      <input type="checkbox" value="music">
      <label>No</label>
      <br>
      <textarea id="t" name="t" rows="15" cols="120" placeholder="Enter text here"></textarea>
      <input name="submit" value="submit" type="submit" id="submit">
    </form>
  </body>
</html>

The test you are failing says:

“Every radio button group should have at least 2 radio buttons.”

To be in the same group, the radio buttons need to have the same name attribute.

Thank you! (face palm)

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