José Fernando Costa
1 min readMay 16, 2020

--

Hey Frederik,

Is logind the login button? If so, then make sure the id you are looking for in document.getElementById is correctly spelled.

At any rate, from the error you’re getting seems like your script is not able to find the element to which you want to add the event listener.

--

--

José Fernando Costa
José Fernando Costa

Written by José Fernando Costa

Documenting my life in text form for various audiences

No responses yet