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.