Please help with form and input

Tell us what’s happening:

What am I doing wrong?

Your code so far


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

 <a href="#"><img src="https://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>
<form action="https://freecatphotoapp.com/submit-cat-photo"> <input type="text" placeholder="cat photo url"></form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66.

Challenge: Create a Form Element

Link to the challenge:

You should place the form tag along with its action attribute up there before the

tag that says Things cats love.

<form action="https://freecatphotoapp.com/submit-cat-photo">
  <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>

you mean lıke this?

Yeah. It should work now. Also don’t forget to close the form tag.

Hi @AzizB!

This part is wrong

In the lesson url was all capital letters. The test won’t pass unless you fix that.

Also, even though the test will technically pass with the ol,ul, and p tags in the form, I would get in the habit of only placing inputs and labels inside the form tag.

I would personally place the form tag below the ending </ol> and above the <input> tag.

<form>
<input>
</form>

thank you very much it worked!!!