I cant nest my input element in my form element.PLEASE HELP ME

Tell us what’s happening:
this is the code i came up with but its not working

Your code so fari


<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>
<form action="/https://freecatphotoapp.com/submit-cat-photo>"</form>
<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>
<input type="text" placeholder="cat photo URL">
</main>

Your browser information:

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

Challenge: Create a Form Element

Link to the challenge:

Hi there,

Nesting means placing one element inside another element. So the input element should be inside the form element like so:

<form action="whateverURL.com">
<input />
</form>

Of course, use the url provided in the exercise for the form action, and keep all the things in the input.

Hope that makes it more clear.

3 Likes