Stuck ""Create a Form Element""

Tell us what’s happening:
What am I doing wrong here please? I have to restart each time I deep dive and get myself lost

   **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="">
<input =""></form>
   **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:

You need to insert the right value for your action attribute. Also, take a look at your input element do you think that looks right

1 Like

Check the input tag on the second last line. There is a syntax error in the attributes you are passing inside the tag. The attributes should take the form of [attribute]=[value] so you can’t have = value without the attribute.

Your input element should look something like this:

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

In this lesson you were asked to Nest the existing input element inside a form element and assign “Thank You message for Cat Photo App form submission|” to the action attribute of the form element.

You change the existing input element and this causes the test to fail.
Try resetting the lesson and doing it again following the instructions.

Thank you that really helped me get this one done

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