I can't seem to be able to nest the input element in the form element been trying and it's been proving me wrong

Tell us what’s happening:
Describe your issue in detail here.
I’ve been trying to nest the input element in the form element and it’s been saying 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>
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 10; CPH2185) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36

Challenge: Create a Form Element

Link to the challenge:

Hello @Abiola

The input you have in your code is different from the one on the task. You are asked to wrap the existing input in a form element. You are not supposed to change the existing input whatsoever.

1 Like

That and you’ve added a space after the < in, < form that seems to be breaking the parsing.

1 Like

I tried that also but it’s still the same output I’m getting

Oh alright thank you let me correct that

I’ve gotten it, thanks

Ive gotten it, thanks

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.