I'm getting this message when I run my code: The existing input element should be nested within a form element . I'm not sure how to nest input element?


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

</main>

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.


I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Thank you. I’m new here and I appreciate your input jeremy.

1 Like

This is nesting

<form>
<input>
</form>

You have deleted the input that was provided for you in the lesson.
Please reset the lesson and nest the input inside the form tags.

Hope that helps!

2 Likes

It does, thank you for your feedback! I now see where I got lost.

1 Like