I need help with the button lesson

I don’t get whats happening but i keeps saying, "Your submit button should only have the text “Submit”.

< 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=“text” placeholder=“cat photo URL”>
< button type=“submit”>Submit</ button>
< /form>
< /main>

You’re not closing your button . You also have no closing paragraph tag after 3 things cats hate.

1 Like

still doesn’t work I still need help

what does your current code look like

like that I don’t know whats wrong

do you have the link for the challenge?


You need to copy/paste your actual code into a reply, because we can not see code you are working on in a challenge (via the link you supplied).

To you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.

Note: Backticks are not single quotes.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.


  <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>
    <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">Submit</button>

Try resetting the code, and use the code you just pasted. I ran your solution in the challenge, and it passed for me

Nope it just said " Your submit button should only have the text “Submit”."

Refresh your page and try the code again, it works.
Edit: If you are on IE or Edge, please avoid it and use chrome.

First of all your button is right. Thats how you add text to a button, so dont think your getting that part wrong. What browser are you using? Some have experience problem using firefox, and safari. Chrome is the browser to use if you can.

You dont need to pass each lesson if you are trying to get the certificates, so you can skip this if you want. Your solution is correct

Thank you for everything though and i’m using chrome

I tried and it still didn’t work

Clear your browser’s cache and try again or try Ctrl+F5 and re run the tests.