Submit Button Error Message

Tell us what’s happening:

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://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>

Your browser information:

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

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

So my code is above, and I believe this is according to the instructions. However, I keep getting the error message below.

Can anyone who’s worked through this tell me what I’m doing wrong? Thank you!

Your code looks fine. Try resetting the code first.

Hey! Thanks for the response! I did, I reset it a couple times and still I kept getting the same error message. Is there a way to message the site admins or tech support? I feel like it must be a glitch?

You can report it on the issue tracker on github.

1 Like

Will do, thank you for your help!

Got it! For the record, it was an issue with Safari. I tried opening it and completing the lesson in Chrome, and it worked fine.

FCC works best with Chrome. Always use it for FCC.

1 Like