Past the first and third line but struggling with the second lineform-ele

Tell us what’s happening:
i am stuck please, what am i doing wrong?

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

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

Your browser information:

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

Challenge: Create a Form Element

Link to the challenge:

You have an extra <form> tag in your code, right before the <input>tag. Then, you can move your complete <form>...</form> line in place of the <form> tag which was removed.

Thanks xps321,
I just tried that and passed line two but now failed the line one which i passed before.

Nest your input inside your form tags.

please how? i have followed the example on the page but keep failing. when i pass one line another will fail, even the one i passed before.

1 Like
<form action="https://freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</form>

Try this @nchedop1

Nesting a p tag inside a body is like this:

<body>
  <p>
  </p>
</body>

Now just do that with the form tag and input.

Wow! finally got it, thanks a lot.

very helpful . Thanks a lot.

Hi!

  1. You have 2 <form> as already said (see xps321) ! REMOVE the one at position 19 in your code.
  2. CUT <form action="https://freecatphotoapp.com/submit-cat-photo"> at position 22 an PASTE it at position 19.
  3. Do not touch the position of </form>