Add a Submit Button to a Form [bug]

Tell us what’s happening:
Anyone having problem with this? i’m doing everything correctly but for some reason, “submit” isn’t efficient enough to finish this problem. I’ve read other forums but they really don’t elaborate the problem.

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"><button type="submit"></button>
    <input type="text" placeholder="cat photo URL">

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:

There is no bug in the tests, but your code is not correct.

The instructions asked you to do two things. You did half of one and ignored the other. Here are the instructions.

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

  1. You partly did the first part which was adding a button to the form element. However, you did not make it the last element in the form. You made it the first element in the form.

  2. You were supposed to make the button’s text “Submit”, but you left it blank.

1 Like

Thanks for helping out, but i figured it out after i posted this forum. i appreciate the response