This is a solution to the Pod Request Access challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Coding Time : 8 hrs 53 mins
Your 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
- Solution URL: GitHub
- Live Site URL: GitHub Live
- Semantic HTML5 markup
- CSS
- BEM
- JavaScript
Learning more about the utility of Linear Gradients. The mobile layout for this challenge has a darkened background Image. I first extracted the hex for the color to darken the image from Figma and 'converted' (too easy in VSCode) it to HSLA values. The value from Figma seems a bit too light so i increased value.
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('landingpagepic.jpg');
I need to become more comforatble adding JavaScript components, i know a bit how to code, but i feel some resistance!
- How to Background Image - This helped me to create the mobile darkened Background-Image.
- Pixel to Rem VScode extension - Had enough of divding px values / 16, 'Option / Z ' works faster.