Could you help me to identified the mistake

Tell us what’s happening:

  **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="test" 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/88.0.4324.150 Safari/537.36 Edg/88.0.705.63.

Challenge: Create a Form Element

Link to the challenge:

the action attribute in your <form> element has the wrong value
the type attribute in your <input> element has the wrong value

For the correct answers please revisit the hints given in the challenge.

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

try what? please help

What is your current code?


In the <form action pass the url as "">

input type is not test, It should be text

If we need a submit button so add this tag

<button type="submit" >Submit</button>

and you are good to go

Hope this helps you


1 Like

No, do not do this. Only do exactly what the instructions ask you to do and no more. Even making the slightest change to something that you were not asked to change or adding something that you were not asked to add may cause the test to fail.


That was an optional, both ways works even if you didn’t place the button

Thanks for the attention