Unable to pass creating a form element

Still receiving the error: The existing input element should be nested within a form element.
I’m not sure how I’m not doing that already.

  **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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
<form action="https://www.freecatphotoapp.com/submit-cat-photo"><input type="text"></form>
<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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15

Challenge: Create a Form Element

Link to the challenge:

The instructions say:

Nest the existing input element inside a form element…

Note the word “existing”. You created a new one.

When I fix that, your code passes for me.

Thank you! I forgot I had an existing one at the bottom of my page

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