I’m making a website and i need to check if the password is correct but it keeps saying unexpected identifier to “password”.
i tried
if password.value === "(hidden for privacy reasons)"
but “password” was an unexpected identifier and adding const or var made const or var invalid.