Front End Development: Authorization Form

The error is “caught TypeError: Cannot read properties of null (reading ‘value’)” at line:

const enteredPassword =

This is their own event handler function and the code is incorrect. It should be:

const enteredPassword = document.querySelector(

I ran this and it worked fine. I will submit a bug

1 Like