The existing input element should be nested within a form element. Your form element should have well-formed open and close tags

Tell us what’s happening:
Describe your issue in detail here.

Hello, the thing is i don’t understand. In which line i did mistake? Can you guys please tell me where exactly i write wrong code?

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

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0

Challenge: Create a Form Element

Link to the challenge:

you need to close the form opening tag

Did you mean this “” ? But if i do that that it’s says The existing input element should be nested within a form element.

I try both ways not working :sob: :sob: :sob:

this is the way how it is now: <form action="https://www.freecatphotoapp.com/submit-cat-photo" <input type="text" placeholder="cat photo URL">
you need to change it to <form action="https://www.freecatphotoapp.com/submit-cat-photo"><input type="text" placeholder="cat photo URL">
notice how I closed the form tag before the input tag started.

sorry

<form
action="https://www.freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo URL">

remember to close the form tag as shown here (>) before starting the input