So I run the project landing page test and it says i fail 2 of the tests. The email submit action test and the static nav bar. They appear to pass the test when I open the page in my browser, the submit takes me to the specified page and the nav bar stays at the top. Could someone look at my messy pen code and let me know what I’m missing please?
Welcome to the forums @halocynjunkbox.
Read the error message. For the failing email the error message 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 #email element's name attribute should have a value of "email" : expected 'eamil' to equal 'email'
Further, keep the test script when forking the pen (<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>).
The test script should be included, with all tests passing, when you submit your project.
Thank you, the nav bar error is still coming up though and as far as i can tell i do have a child of #header stuck to the top of the page when scrolling. Unfortunately the error on this one isn’t as helpful as the last.
#header or one of its children should be at the top of the viewport even after scrolling : expected 474 to be close to 0 +/- 15