Your form element should have well-formed open and close tags

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>
<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.111 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.

Your form element should have well-formed open and close tags.

<form

action=“https://freecatphotoapp.com/submit-cat-photo

These tags are not correctly formatted. Opening and closing tags both need < and >.

1 Like

You need to fix the issue that @ArielLeslie pointed out. You also need to place the input inside the form.

FCC instructions:
Nest the existing input element inside a form element

<form>
<input>
</form>

Hope that helps!

1 Like