About Form Element

So I have been trying to create a form element and it keeps saying " The existing input element should be nested within a form element."
I think I have done that but its not working. Please somebody help

<h2>CatPhotoApp</h2>

<main>

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

<form action="https://www.freecatphotoapp.com/submit-cat-photo"><input></form>

<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">

</main><h2>CatPhotoApp</h2>

<main>

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

<form action="https://www.freecatphotoapp.com/submit-cat-photo"><input></form>

<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">

</main>

Do you have a link to the exercise? We don’t have them memorized.

In any case, if you read closely, it says to use the existing input element - you’ve created a new one:

<form action="https://www.freecatphotoapp.com/submit-cat-photo">
  <input>
</form>

You are supposed to nest the existing one at the bottom of the page.

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