Product Landing Page. I don't know what is wrong

Hi everybody! I want to pass the tests so I can concentrate on the design, but there are two errors that keep appearing and appearing. I’ve tried everything, I’ve searched the web, and haven’t found a reason for these errors. Maybe you can help me?
Here’s my pen: https://codepen.io/33P/pen/dyYJXBa
And here are the errors:

11. Within the form, there is a submit <input> with corresponding id="submit".

#submit is not defined : expected null to not equal null
## 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).

The #email input should have a name attribute : expected false to equal true

I’ve done everything the stories told me to. I’ve run out of solutions.
Thanks for the help!

You should use input element for first part.
For second part, your input element should have a name attribute such as name=‘email’;
Here is a sample for you:

<form id="form" action="https://www.freecodecamp.com/email-submit">
<input name="email" id="email" type="email" placeholder="Your email here" required="">
<input id="submit" type="submit" value="Submit" class="btn">
</form>

happy coding :slight_smile:

1 Like

@aykut-sarac Thank you so much! I must have written it wrongly the first time. I’m sorry. I deleted the wrong post. It worked! Thank you!