Submit button should have the attribute type set to submit

I keep getting the message that my submit button should have the attribute type set to submit. But from what I can tell… it is set to submit? I’m not sure where I’m missing what I should be typing


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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36.

Link to the challenge:

inspect that very carefully. something’s missing.

Hint (blurred, click to reveal):

look at the other attributes on other elements:

1 Like

@Logie Always look for syntax errors in your code. It is the most common problem you will come across. One missing/misplaced character could make the whole program crash.