Need help with step 42 on html with the button

Tell us what’s happening:
Describe your issue in detail here.
i added the submit button but now its saying to explicitly add the type attribute with the value submit to make it clearer and to specify where the submit button should be on the form. Please help!

  **Your code so far**
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="">cat photos</a>.</p>
      <a href=""><img src="" alt="A cute orange cat lying on its back."></a>
      <h2>Cat Lists</h2>
      <h3>Things cats love:</h3>
        <li>cat nip</li>
        <li>laser pointers</li>
        <img src="" alt="A slice of lasagna on a plate.">
        <figcaption>Cats <em>love</em> lasagna.</figcaption>  
      <h3>Top 3 things cats hate:</h3>
        <li>flea treatment</li>
        <li>other cats</li>
        <img src="" alt="Five cats looking around a field.">
        <figcaption>Cats <strong>hate</strong> other cats.</figcaption>  
      <h2>Cat Form</h2>
      <form action="">
        <input type="text" name="catphotourl" placeholder="cat photo URL" required>
        <button><input type="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.5 Safari/605.1.15

Challenge: Step 42

Link to the challenge:

it is without button tags. and give the input tag a value attribute with the text “Submit”

The type of the button should be “submit”. There shouldn’t be an input element inside the button.

tried both <type=“submit” value=“submit”> and also <type=“submit”> never worked

Neither of those are the button element.

put the type attribute and its value inside the button element.

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