My Product Landing Page need a bit help

My project: https://codepen.io/maurerlajos1/pen/oNzrYWL

Why this is not submitting the e-mail ? And what you think about the page?

The hamburger menu is not finished yet. That will be the next step.

<form id="form" action="https://www.freecodecamp.com/email-submit">

1 Like

@maurerlajos1, when a test fails click the red button to see which test(s) are failing and text to help you correct the issue. (Be sure and read more than just the first line of the failing message.)

For instance, here’s the entire failing message;

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 #form should have an action attribute : expected false to equal true  
AssertionError: The #form should have an action attribute : expected false to equal true

You quote this for some reason;
<form id="form" action="https://www.freecodecamp.com/email-submit">

But your code has this;

<form id="form">
  <label for="email">Subscribe:</label>
   <input type="email" id="email" placeholder="enter your email address" size="30" required>
   <input id="submit" type="submit" class="btn" value="Send" action="https://www.freecodecamp.com/email-submit">
</form>
1 Like

Thanks. First the code was like that but I was just wondering if I placed in to the wrong place so I was trying to put the action to the input fields.

But now I see my problem was that I dosen’t named the submit input. And also forgot the mailto from the action

Now I will just need to do the hamburger menu.

And I’m also done with my hamburger menu so far. I just need to close it after click event on mobile.

1 Like

Hey there @maurerlajos1!

Real quick, I wanted to ask where is your hamburger menu? I’m in desktop view and it’s nowhere to be found.

Just asking,
Cy499_Studios

@Cy499_Studios, narrow you browser. They’ve set the nav so on smaller screens it displays as a hamburger menu.

1 Like

@Roma, thanks! I see it now

1 Like

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