That is not testing what you think it is testing. The attribute's value will always be what you set it to, there.

What you want is to check that `document.getElementById("emailInput").form` exists and is the same `HTMLFormElement` that the `<form>` element is.