Aprende HTML construyendo un formulario - Step 28

“”“”“me marca este error”“”“”“”

The second input element should have an id of business-account.

Registration Form

Registration Form

Please fill out this form with the required information

Enter Your First Name: Enter Your Last Name: Enter Your Email: Create a New Password: Personal Account Personal Account Business Account Business Account I accept the terms and conditions
<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."> 
    </main>
  </body>
</html>

Hey, @noeh !

Este código es para la aplicación Cat Photo, ¿no? ¿Podríamos ver el código con el problema?

Para poder contestar tus dudas, comparte el link del ejercicio y tu codigo del ejercicio.

Me pide que agregue id’s los ingreso y me marca que no se han ingresado.

Registration Form

Registration Form

Please fill out this form with the required information

Enter Your First Name: Enter Your Last Name: Enter Your Email: Create a New Password: Personal Account Personal Account Business Account Business Account I accept the terms and conditions

ME PIDE QUE INGRESE ESTOS ID PERO ME DICE QUE NO HAN SIDO INGRESADOS EL SISTEMA. AYUDA GRACIAS

Personal Account Personal Account Business Account Business Account I accept the terms and conditions

tema 28

tema 28

Porque tienes repetidos los inputs?
Este es el codigo original, te recomiendo resetear tu codigo

      <fieldset>
        <label><input type="radio" name="account-type" /> Personal Account</label>
        <label><input type="radio" name="account-type" /> Business Account</label>
        <label><input type="checkbox" required /> I accept the terms and conditions</label>
      </fieldset>

El id lo estas añadiendo bien, pero el “for” va en la etiqueta label

Es más fácil revisar y probar tu código si lo pegas como texto, en lugar de como una imagen

Registration Form

Registration Form

Please fill out this form with the required information

Enter Your First Name: Enter Your Last Name: Enter Your Email: Create a New Password:
  <fieldset>
    <label><input type="radio" name="account-type"> Personal Account <input for="personal-account" id="personal-account"></label>
    <label><input type="radio" name="account-type"> Business Account <input for="business-account" id="business-account"></label>
    <label><input type="checkbox" required /> I accept the terms and conditions <input for="terms-and-conditions" id="terms-and-conditions"></label>
  </fieldset><fieldset></fieldset>
  <input type="submit" value="Submit" />
</form>

¿Porque tienes repetidos los inputs?
Este es el codigo original, te recomiendo resetear tu codigo

      <fieldset>
        <label><input type="radio" name="account-type" /> Personal Account</label>
        <label><input type="radio" name="account-type" /> Business Account</label>
        <label><input type="checkbox" required /> I accept the terms and conditions</label>
      </fieldset>

El id lo estas añadiendo bien, pero el “for” va en la etiqueta label