Problem on product landing page challenge

I want to write htmlfor form which prompt email and will submit the email if user press submit button, as per required in the challenge number 12 in this link https://www.freecodecamp.org/learn/responsive-web-design/responsive-web-design-projects/build-a-product-landing-page

But it seems like I did not fulfill the test requirement, and I dont know why.Please help.

My html is as follow:

  <form id="form" action="https://www.freecodecamp.com/email-submit">
    <lable>Enter your email to subscribe our monthly product catalogue for free!</label><br>
    <input id="email" type="email" placeholder="Enter your email"></input>
    <input id="submit" type="submit" value="submit"></input>
  </form>

What do the failing tests say? Did you look at the hints in the failing test message?

1 Like

Failing message shown in the picture. I tried to find hints but have no idea what wrong

The email input should have a name attribute

Neither of your input elements have names.

Just as an fyi: you spelled “label” wrong, so that element won’t work correctly.

It work, thank you mate!

I’m glad I could help. Happy coding!