The form element

Tell us what’s happening:
Hey everyone,I noticed when trying to put the ‘form’ element it didn’t work even after looking at other reports,it still didn’t work no matter what.
I’ve tried everything i could think of but no luck.
Please if you have any information of how i could make it work and move on i’d really appreciate it.Thank you for your time.

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>
 <input type="text" placeholder="cat photo URL">
<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/86.0.4240.75 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

1 Like

Hello @Over7Bite. The reason you are not passing the challenge is because you added an extra input element:

The challenge clearly says to nest the EXISTING input element inside a form element. So, no need to add another one.

Also, the link you specified in the form's action attribute is wrong. You need to give this link inside the action attribute:

Also, you removed the existing input element’s opening < symbol:

Also, you did not close the form tag after the input element:

Also, your form element’s opening tag doesn’t have a > at the end:

Also, your input element’s type attribute’s value is not surrounded with double quotes ("):

Apologies if there are too many “Also” in my post. Happy Coding! If you think that this is too hard to solve, reset your code and start from first.

1 Like

Thanks man i really appreciate it and sorry i didn’t reply earlier which i should have done but all in all Thank you!

1 Like