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**

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

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.