Need help with create a form

Conte-nos o que está acontecendo:
Descreva detalhadamente o problema aqui.

Coloque o elemento input que já existe dentro de um elemento form e insira "https://www.freecatphotoapp.com/submit-cat-photo" no atributo action 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://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>
<input type="text" placeholder="cat photo URL"> 
<input type="text" placeholder="cat photo URL">
</mai>
<form action="/url-where-you-want-to-submit-form-data">
<input>
</form>
  **Informações de seu navegador:**

Agente de usuário: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36

Desafio: Criar um elemento de formulário

Link para o desafio:

Hi @lucasbastos888 !

Welcome to the forum!

I edited the title of your post to remove the link.
Please avoid placing links in the title since we cannot click on them.


I would reset the lesson because there are a few errors.

Coloque o elemento input que já existe dentro de um elemento form
This is the existing input element.
Wrap your form tags around this.

Do not create any new inputs. Use the one they already gave you.

e insira "https://www.freecatphotoapp.com/submit-cat-photo" no atributo action

Place that url inside the quotes for the action attribute.

action="URL GOES HERE"

The basic structure should look like this

<form action="URL GOES HERE">
EXISITING INPUT GOES HERE
</form>

Hope that helps!

1 Like

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