Nesting the Input element in the form element

Does anyone know what I am doing wrong here? I keep getting the error message that “The existing input element should be nested within a form element.”

  **Your code so far**

 View more cat photos <a href=# target="_blank">cat photos</a>
 <a href = "#"><img src="" alt="A cute orange cat lying on its back."></a>
 <p>Top 3 things cats love:</p>
<p>Top 3 Things Cats Hate:</p>
    <li> Thunder</li>  
    <li> Fleas</li>
    <li>Other Cats</li>
<form action="">
<input type="text" placeholder="Upload Cat Photo"> 

  **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:

I think it’s because you have changed the text inside the placeholder of input element.

Original code:

<input type="text" placeholder="cat photo URL">

Your code:

<input type="text" placeholder="Upload Cat Photo"> 

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