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

Tell us what’s happening: please i need help on how to nest form element in an input text field

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 action="https://freecatphotoapp.com/submit-cat-photo">
  </form>
</main>

Your browser information:

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

Challenge: Create a Form Element

Link to the challenge:

it seems you have deleted the input element so please rest your code, then find the input element, put the opening form tag just before it and the closing form tag just after it

i have added the input element but still not working! please find the code below

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

forgot a space between the end quote of “text” and placeholder. adding that space should fix it. Let me know if it doesn’t.

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

you need to have exctly the same input element as it was before, if it’s different the tests fail. Maybe reset your code and add again the form element?

Thanks @ilenia and jackpack, it has worked.