Boton en HTML con input

Cuéntanos qué está pasando:
Describe tu problema en detalle aquí.
No entiendo lo que me falta, si tengo los dos input ligados al label? AUXILIIIOOO

  **Tu código hasta el momento**

<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://www.bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<label for="indoor">
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button> 
  <input id="indoor" type="radio" name="indoor-outdoor">indoor
  <input id="indoor" type="radio" name="indoor-outdoor">outdoor
</form>

</label>
</main>
  **Información de tu navegador:**

El agente de usuario es: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36

Desafío: Crea un conjunto de botones de radio

Enlaza al desafío:

There are a couple of things;

  1. You have nested the form element in a label element. You do not want to do that.
  2. Each of the input elements should be nested in its own label element. That’s what the failing test message is telling you.

When I correct these the tests pass successfully.

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