With this code snippet, you will be able to verify user's email address and prevent them from submitting an incorrect one.. Scroll up and click on the demo link to see how code is working in real world, clone the project and modify however you want. You can also check how code was added to page.
On line 2, input element has an ID of form-input, that you can modify, as well as hidden submit button with ID of form-submit. When email is verified, the submit button appears.
Copy before tag:
<p> CODE: https://gist.github.com/martinhudobivnik/86ca02caa041f26146bc7a636f6693c5.js</p>