Could you help me to identified the mistake

Tell us what’s happening:

  **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://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>
<form action="/submit-cat-photo">
<input type="test" placeholder="cat photo URL">
 </form>
</main>
  **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?

@robertavandyke

In the <form action pass the url as "https://freecatphotoapp.com/submit-cat-photo">

input type is not test, It should be text

Optional:
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

Thanks

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.

@bbsmooth

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

Thanks for the attention