Survey Form - Build a Survey Form

Tell us what’s happening:

I’m supposed to have everything correct and everything I need to do the Survey Form. But I check my code and it says I’m missing “Every radio button group should have at least 2 radio buttons”. I put the same code twice and it works, but it doesn’t let me modify the attributes because it shows an error if I move the “name” attribute.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <h1 id="title">Formulario de encuesta</h1>
    <p id="description"> Gracias por contestar esta encuesta!!
    <link rel="stylesheet" href="styles.css">
  </head>
  <body> 
    <form id="survey-form">
      <fieldset>
        <legend>Datos Generales:</legend>
      <label id="name-label" for="name">Nombre: <input id="name" type="text" placeholder="Guillermo Garcia" required /></label>
    <label id="email-label"for="email">Correo: <input id="email" type="email"  placeholder="alcapones1232@gmail.com" required /></label>
    <label id="number-label"for="edad">Edad: <input placeholder="18" id="number" type="number" min="13" max="120"required />
    </label>
    </fieldset>
    <fieldset>
    <label for="dropdown">Cuanto gastas normalmente?
      <select id="dropdown" name="comida-fav">
        <option value="">(Seleccione una)</option>
        <option value="1">25 pesos</option>
        <option value="2">50 pesos</option>
        <option value="3">75 pesos</option>
        <option value="4">100 pesos</option>
        <option value="5">+100 pesos</option>
      </select>
    </label>
    </fieldset>
    <fieldset>
       <legend>Como te gusta pedir tu comida?</legend>
    <label for="pedido-persona">
      <input id="pedido-persona" type="radio" name="pedido-persona" class="inline" value="radio" checked/>
      En Persona
      </label>
    <label for="pedido-linea">
      <input id="pedido-linea" type="radio" name="pedido-linea" class="inline" value="radio"/>
      En Linea
      </label>
    </fieldset>
    <fieldset>
       <legend>Como te gusta pedir tu comida?</legend>
    <label for="pedido-persona">
      <input id="pedido-persona" type="radio" name="pedido-persona" class="inline" value="radio" checked/>
      En Persona
      </label>
    <label for="pedido-linea">
      <input id="pedido-linea" type="radio" name="pedido-linea" class="inline" value="radio"/>
      En Linea
      </label>
    </fieldset>
    <fieldset>
    <legend>Con que sueles pagar?</legend>
    <label for="pago-efectivo">
      <input class="inline" id="pago-efectivo" type="checkbox" name="pago-efectivo" value="checkbox" checked requiered/> 
      En efectivo 
    </label>
    <label for="pago-tarjeta">
      <input class="inline" id="pago-tarjeta" type="checkbox" name="pago-tarjeta"value="checkbox"requiered/>      Con Tarjeta 
    </label>
    </fieldset>
    <fieldset>
    <label for="comentarios">Comentarios para mejorar nuestro negocio!! 
      <textarea id="comentarios" name="comentarios" row="3" cols="30" placeholder="Me gustaria que la atencion fuera un poco mas rapida (ejemplo)">
      </textarea>
      </label>
    </fieldset>
    <input id="submit"type="submit" value="Submit" />
    </form>
  <body>    
</html>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Challenge Information:

Survey Form - Build a Survey Form

Hello, your code has passed on my browser, try reseting the test or switch to another one.
Good luck!