Issue while completing "Add a Submit Button to a Form"

Tell us what’s happening:
Describe your issue in detail here.

I can’t pass the test, I wrote the right code and when I want to run tests, it says:
" // running tests
Your submit button should only have the text Submit.
// tests completed

  **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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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="https://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL">
  <button type="submit">Submit</button>
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15

Challenge: Add a Submit Button to a Form

Link to the challenge:

Yes, your code looks good and it passes for me.

Sometimes things glitch. Reboot, reset the browser cache, try a different browser. I don’t think it matters in this case, but make sure you don’t have dark mode or any accessibility font scaling on.

If none of that works, just back out and move onto the next challenge.

1 Like

Yes, that’s what I did.

Thank you.

I’m just worried tho if it would affect me getting the certificate in the end?

Thanks for your reply!

No, the challenges are not required (afaik), they are there for you to learn. The projects are what “matter”.

1 Like

Great, thanks for taking time to assist me!

1 Like