"Input type" not working... Help pls

Tell us what’s happening:
Describe your issue in detail here.
For some reason, when I turn in my code for “Add a Submit Button to a Form”, it says “Your Submit Button should have the attribute TYPE set to SUBMIT.”
I have even gone to the help video linked below the challenge, and copied the code and pasted it, but it still does not work, which means I cant go to the next Lesson. Does anyone know how to deal with this? Am I the first one that this has happened to? Pls help lol.
Your code so far

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

      **Your browser information:**

User Agent is: <code>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36</code>

**Challenge:**  Add a Submit Button to a Form

**Link to the challenge:**

It doesn’t say:

“Input type” not working… Help pls - HTML-CSS - The freeCodeCamp Forum

It says:

Your submit button should have the attribute type set to submit .

You are setting it to " Submit ", but it is telling you to set it to "submit". That’s not the same thing.

When I fix that, your code passes for me.

1 Like

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