Your form element should have well-formed open and close tags. i keep getting this please help

Tell us what’s happening:

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><input type="text"placeholder="cat photo URL">
</main>

Your browser information:

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

Challenge: Create a Form Element

Link to the challenge:

Hi @innercircle!

Welcome to the forum!

Two things.

  1. Your form opening tag is missing the >
  1. You need to nest the input inside the form like this.
<form>
<input>
</form>

Hope that helps!

@innercircle Welcome to the FreeCodeCamp Forums! You need to nest the <input> tag inside of your form like @jwilkins.oboe showed. You also need a > on your opening <form> tag! Happy Coding! :smile:

@jwilkins.oboe @landon.h.lloyd thanks for your response it was helpful. Please dont hesitate to come to my rescue next time. God bless

1 Like

You missed > in <form action=“https://freecatphotoapp.com/submit-cat-photo
The Solution is

@Spurthi_js Welcome to the FreeCodeCamp Forums!