Product Landing page : user story #12

I am having an error with
User Story #12: When I click the #submit element, the email is submitted to a static page (use this mock URL: https://www.freecodecamp.com/email-submit)

can someone help me?

<div class="sign-up-page">
  <form  action="https://www.freecodecamp.com/email-submit" id = "form" >
          <h1> Sign up here</h1> 
      <label> Email address <input id="email" type="email" placeholder="Enter your Email"
        required></label>
                                                                   
       <input  id="submit" type="submit" class"btn"/>                                   
                                                                               
            </form>
</div>

Hello~!

If you click the red tests button you will see error messages for any failing tests. It is very hard to debug without a live link to your project, but if I remember correctly part of that user story expects your email input to have a name attribute.

Thanks for you response
Here is the link https://codepen.io/lioniyon/pen/XWKGwmo

Yes, the email input is missing the name attribute. :slight_smile:

2 Likes

Hi @nhcarrigan I added the name attribute it is still giving that error

1 Like

@nhcarrigan I saw my mistake . I wrote “name :” instead of “name=” Thank you very much

2 Likes

Glad you got it! Good luck and happy coding!