I don't know what I'm doing wrong in this code

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

  **Your code so far**

<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://www.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="https://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL">
  <button type="submit">this button submits the form</button>


Please, what am I doing wrong in this code?

Challenge: Add a Submit Button to a Form

Link to the challenge:

You have added extra text to your button. You must only use the text that the question asks for as it will not accept anything else

Please, can you point out the extra text I used? Thank you

The question asks you to use only “Submit”

1 Like

I have removed it and it still gives me the same answer. Is there anything else I’m not doing right, please?

You replaced the text with Submit? Can you link to your code again so we can see?

Okay. https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-a-submit-button-to-a-form

Do you have any add blockers or dark modes enabled in your browser as they can affect the tests?

I don’t have any ad blockers. I don’t even know much about them

Your code is good now and it passes when I enter it on my browser. Do you have another browser you could try it on? You could have add blockers or dark modes without knowing you have them

I use just Google Chrome. Which other browser would you advise, please?

I am suprised there is a problem with chrome to be honest, have you tried looking through the chrome settings? You could try microsoft edge or mozilla firefox.

can you double-check you have written the type 1st letter is in small and text of button in 1st letter capital?

<button type="example">Example</button>

I have never touched the settings of my Chrome browser and it’s what I have been using without issues since I started the course.
I will check the others out.
Thank you.

I am using Chrome too and it is working fine here too … Hmm

If you click on his most recent link his answer is there and it passes the tests when submitted, it has to be browser issues I think

Yep just checked it… Maybe he should reset the code and try all again. As I couldn’t find any issue with the code and it is showing pass.

Thank you so much. It worked. I didn’t add ‘Example’. I really appreciate your help.

It has worked. Thank you so much, guys. I really appreciate your help.

1 Like

That’s good news, good luck with the rest of the course!

1 Like