Challenge step 42 , I don't get , where does it must be "submit"?

in the first exercise I make with “type below " button” but this is wrong so I make another exercise,
i thought that “the submit” must be in the “input type” but it appear wrong too

  <form action="https://freecatphotoapp.com/submit-cat-photo">
    <input type="text" name="catphotourl" placeholder="cat photo URL" required>
    <button>Submit</button>
    <type>submit</type>

or

Submit
  </form>
</section>
```
  **Your browser information:**

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

Challenge: Step 42

Link to the challenge:

From the challenge text: “You learned previously that the button submits the form by default, but you can explicitly add the type attribute with the value submit to make it clearer.”

Elements, attributes and values are written like this:

<element attribute="value"> ...  </element>

The element here is <button>. You already made the element, you just need to add attribute and value.

1 Like

you are right !! I have already verified and "input " must be inside of “button”
a lot of thanks!!

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