fixed validation errors, oops. 2 left over from swapping from form to div

This commit is contained in:
Robert McGovern 2022-10-20 22:19:24 +01:00
parent 700f54052c
commit c20c26ea42
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@
Hello fellow shoppers! We're currently building our new fashion store.
Add your email below to stay up-to-date with announcements and our launch deals.
</p>
<div class="email-form" id="email-form" action="submit" novalidate>
<label class="visually-hidden" for="email">Email</label>
<div class="email-form" id="email-form">
<label class="visually-hidden" for="email-input">Email</label>
<input class="email-form__input" placeholder="Email Address" type="email" name="email-input" id="email-input"
required>
<img class="email-form__error-icon" id="error-icon" src="images/icon-error.svg" alt="Error icon">