Html qual e o erro da tarefa

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

  <a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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>
  <form action="https://www.freecatphotoapp.com/submit-cat-photo">
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>
  <input<form><label for="indoor"><outdoor>
<input id="indoor" type="radio"<>outdoor< name="indoor-outdoor">Indoor 
</label>
</main><h2>CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>

  <a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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>
  <form action="https://www.freecatphotoapp.com/submit-cat-photo">
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>
  <input<form><label for="indoor"><outdoor>
<input id="indoor" type="radio"<>outdoor< name="indoor-outdoor">Indoor 
</label>
</main>

Ficou faltando 2 partes:
Seus botões de opção devem receber o name atributo de indoor-outdoor .

Cada um de seus dois elementos de botão de opção deve ser aninhado em seu próprio label elemento.

Do you have a link to the challenge? We don’t have them memorized. In the future, you can use the Get Help -> Ask for Help button (Obter ajuda -> Pedir ajuda) and it will copy everything you need.

Also, please get in the habit of asking questions. An important skill for a developer is explaining what the problem is. And sometimes in defining the problem, the solution presents itself.

Looking at your code, I see issues, like here:

<input<form><label for="indoor"><outdoor>

That input is never closed.

And here:

<input id="indoor" type="radio"<>outdoor< name="indoor-outdoor">Indoor 

I don’t even know what is going on after the "radio".

You will at least have to either clean up those HTML errors or start from scratch with the Reset All Code (Redfinir todo o codifg) button.

After that, if you still can’t figure it out, provide a link to the challenge, cut and paste your code, and explain to us what the problem is, so we can help you.

1 Like