Submit button in html

Tell us what’s happening:
Tried a lot of time creating it idk whats 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"> 
<button type="submit">

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; SM-J710GN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.116 Mobile Safari/537.36.

Challenge: Add a Submit Button to a Form

Link to the challenge:

Don’t you need to place the word submit (ore any other word that you prefer) between the button code?

try this @Usama_1991

  <form action="/submit-cat-photo">
            <input type="text" placeholder="cat photo URL">
            <button type="submit">Submit</button>

use “input” instead of “button”.

Hello, Usama.

Look at the instructions:

Add a button as the last element of your form element with a type of submit , and “Submit” as its text.

Then look at the code you have. You have not followed the instructions.

If you are still stuck. Look at the example submit button in the lesson.

I hope this helps