Need Help with the "form" and "input"

I’ve done everything so far and got stuck at " The existing input element should be nested within a form element."

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

<form action="https://freecatphotoapp.com/submit-cat-photo">
<input>
</form>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15.

Challenge: Create a Form Element

Link to the challenge:

The last section

<form action="https://freecatphotoapp.com/submit-cat-photo">
<input>
</form>

Is where I’m stuck.

Hi @serged7 !

The instructions ask you to nest the existing input inside form tags.
Not create a new input.

Also, it looks like you changed the existing input so you will need to reset the lesson.

1 Like

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 (’).

1 Like

got it! I had to reread the instructions so many times! Thank you so much!

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