Product landing page test - submit is not defined

Within the form, there is a submit <input> with corresponding id="submit
My code below:

<form id="form" action="https://www.freecodecamp.com/email-submit">
  <label for="email"> Interested in our Services? Enter your email addrsss and we will send you a quote</label><br>
  <input type="email" id="email" name="email" placeholder="Enter your email address" required>
  <input id="submit" type="submit" value="submit">
</form>

#submit is not defined : expected null to not equal null
AssertionError: #submit is not defined : expected null to not equal null

This error wont go away.

Hey there @henrystats :wave:,

Try reloading your browser, that might help it from using the cached version of your build.
Do you have a link to this project that is available? that might be helpful.

Thanks!

1 Like

Hi there, thanks!! I just refreshed and the error cleared!

Thanks very much!

1 Like

Glad I can help,
just remember that browser will often cache everything so you might want to reload if you left your browser in the background for too long.

1 Like