Why does it show an error after nesting the input in the form

Tell us what’s happening:

  **Your code so far**

<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>
  <li>cat nip</li>
  <li>laser pointers</li>
<p>Top 3 things cats hate:</p>
  <li>flea treatment</li>
  <li>other cats</li>

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

  **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:

it expects the exact same input that was present at the beginning, you changed it

there is an extra space in the placeholder attribute, and maybe something else

You have an extra whitespace in the placeholder text

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