-
Solution URL: Intro Component with Signup Form 🎯 [ BEM - VANILLA CSS3 - JS REGEXP ] Live Site URL: https://0xabdulkhalid.github.io/intro-component-with-sign-up-form/
-
Scored 99.25% on Pagespeed Insights Check out Pagespeed Insights to get live score
The challenge is to build out this FAQ accordion card and get it looking as close to the design as possible.
The users should be able to:
- View the optimal layout for the component depending on their device's screen size
- See hover states for all interactive elements on the page
- Receive an error message when the
form
is submitted if:- Any
input
field is empty. The message for this error should say "[Field Name] cannot be empty" - The email address is not formatted correctly (i.e. a correct email address should have this structure:
name@host.tld
). The message for this error should say "Looks like this is not an email"
- Any
- Challenge was provided by Frontend Mentor