Create a form element wrong

Tell us what’s happening:
It keeps telling me I have to nest the existing input element into a form element, but I think I did that.

Can someone tell me what I did 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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15.

Challenge: Create a Form Element

Link to the challenge:

You’ve changed the placeholder text, so from the test’s perspective, this isn’t the “existing input element” anymore.

1 Like

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