Create a Form Element (Again apparently as this is a dup title)

My error is: " The existing input element should be nested within a form element."

I’ve looked through the technical assistance, and googled and i am stumped what I am missing. Changed browsers as I saw old forum discussion of issue with Chrome but same problem in Edge. Any help would be appreciated.

Fairly certain I am going to feel dumb once I hear the correct answer. Lol

  **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://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>
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="Submit cat photo"> 
</form>
</main>
  **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:

You were tasked with nesting the existing input element inside a form element.

The failing message tells you
The existing input element should be nested within a form element.

You changed the existing input element.
Reset the lesson and pay particular attention to the instructions.

Thank you! Knew I was going to feel dumb. I identified & fixed another error but did not reset the code prior, so previous attempts to fix were still reflected.

And I was stuck just focused on how I was nesting incorrectly.

Thank you for another set of eyes.

No worries…glad to be of some help.

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