Alguém pode me ajudar a resolver?

Conte-nos o que está acontecendo:
Descreva detalhadamente o problema aqui.
Como faço para o elemento input existente ficar dentro do elemento form .???

  **Seu código até o momento**

<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" 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>
<input type="text" placeholder="cat photo URL">
<form action="https://www.freecatphotoapp.com/submit-cat-photo"><input>
</form>"

</main>
  **Informações de seu navegador:**

Agente de usuário: Mozilla/5.0 (iPhone; CPU iPhone OS 15_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Mobile/15E148 Safari/604.1

Desafio: Criar um elemento de formulário

Link para o desafio:

This element…

<input type="text" placeholder="cat photo URL">

…is the one you have to put inside the form element.

Replace the empty input element you now have inside the form with the input element you have before the form.

2 Likes

Oi, @zorayde_araujo. Como a pergunta está em português, eu a movi para o subtópico na seção do português. Espero que não se importe. A resposta de @lasjorg resolveu sua questão. Se não, elabore a dúvida um pouco mais aqui e tentamos solucionar. Bons estudos. :smiley:

Você deve criar a tag <form> antes de <input>. Não esqueça de fechar o form em seguida. Resumindo, ficaria assim:
<form><input xxxxxx></form>

Te ajudei?

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