Your text input element should be nested within a form element

Tell us what’s happening:
hey I did everything and this is still, showing up to be honest I can’t spot the mistake ( Your text input element should be nested within a form element)
can I get some help ?

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"</form:>
<formaction"type=text"placeholder="cat-photo-URL"</form>



Your browser information:

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

Challenge: Create a Form Element

Link to the challenge:

Hello! Welcome to the forum :partying_face:! We hope you learn a lot and have a good time :slight_smile:!

There are two problems:

  1. You didn’t close the form tag correctly.
  2. You actually removed the input that the lesson asked you to surround with the form (check the code, where’s the <input?).

Remember that the tags that have content inside require a closing tag:

<p>
  Here goes the content of the paragraph
</p>
<div>
  <!-- Here you put the content of the div -->
</div>

What’s the correct way to create a form then?