This is a solution to the Pod request access landing page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
- Receive an error message when the form is submitted if:
- The
Email address
field is empty should show "Oops! Please add your email" - The email is not formatted correctly should show "Oops! Please check your email"
- The
Desktop view
Tablet view
Mobile view
- Solution URL: https://www.frontendmentor.io/solutions/pod-request-access-landing-page-OpedKHrQz-
- Live Site URL: https://Milleus.github.io/fm-pod-landing/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Using Constraint Validation APIs
- Email typeMismatch allows email addresses without a top-level domain, i.e.
x@y
is a valid email - Using patternMismatch to accept only emails with top-level domain
- Setting
novalidate
with JavaScript instead of HTML allows for native form validation fallback when JavaScript fails