What is the proper way to nest input in a form

What is the proper way to nest inside a form

  **Your code so far**

p<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>

<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>
<input url "https://www.freecatphotoapp.com/submit-cat-photo">


</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (iPhone; CPU OS 14_4_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/33.1 Mobile/15E148 Safari/605.1.15

Challenge: Create a Form Element

Link to the challenge:

you are using wrong syntax

syntax for form

<form action="target url" method="post or get">
     <input type="type in which you want your input" name="name you want to send" placeholder="your placeholder">
</form>
1 Like

@rio_sanap, you forgot the “/” in the ending form tag (</form>). :wave: