@Eileenpk
Posted
Hi Azizbek, your project looks good, and this might be a helpful tip.
Consider changing the <div class="input-form">
to a <form>
element and use an <input type=email>
for the email input. You can then use e.preventDefault() in JavaScript to stop the page from reloading on form submission. This will also allow you to do some form validation to make sure that the user's submission really is an email address.
Hope you found this helpful!
- Let's connect on LinkedIn! - @Eileenpk