Nesting within a form element

Your form should have an action attribute which is set to Thank You message for Cat Photo App form submission|

Instructions: Nest the existing input element inside a form element and assign "" to the action attribute of the form element.

I cannot figure out what I am doing wrong.

   **Your code so far**

 <p>Click here to view more <a href="#">cat photos</a>.</p>

 <a href="#"><img src="" 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 ="/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/93.0.4577.63 Safari/537.36

Challenge: Create a Form Element

Link to the challenge:

1 Like

if you delete this from action :slight_smile:


it will pass…

This is giving me the same message???

1 Like
action =""

hope this help…
you dont need this part:


1 Like

"" to the action attribute of the form element.

hope thet meens thet is passing the lesson

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