July 18 Create a Form Element

I can’t figure this one out the instructions seem to say to nest the existing input. When I do so get a failure to nest error message as well as a failure to create a proper action attribute

   **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://www.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="cat photo URL"/>

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

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0

Challenge: Create a Form Element

Link to the challenge:

Hi @jhmgroup21 !

Your url is wrong.

This is the correct url

"https://www.freecatphotoapp.com/submit-cat-photo"

Also, your input is wrong.

You are supposed to use this input.

You were not supposed to create a new input.

I would reset the lesson and make those changes.

Hope that helps!

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