@anngo, first off, please keep the test script when forking the pen (
- The test script should be included, with all tests passing, when you submit your projects.
- It also makes it easier for people to help you if they don’t have to add the test script. It should be there.
That said, the failing message for test #12 says;
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
Here’s the relevant section of your code;
<p class="near">If you want to be our member, please sign up here.</p>
<label class="near" for="email">Email</label>
<input class="near" type="text" id="email" placeholder="email" required>
<input type="submit" value="submit">
You don’t have a starting
form tag so you don’t have a
form element. You have a
div with an
id of form but that’s not making a
Because you don’t have an opening
form tag you don’t have an
action attribute and that’s why the test fails.
<-- your code for email label -->
<-- your code for submit button -->
Btw, make your submit button a
Hope that helps.