/fm-easybank-landing

Frontend Mentor Challenge: Easybank Landing Page

Primary LanguageSCSS

Frontend Mentor - Easybank Landing Page Solution

Design preview for the Easybank landing page coding challenge

This is a solution to the Easybank Landing Page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Overview

The challenge

Users should be able to:

  • View the optimal layout for the site depending on their device's screen size
  • See hover states for all interactive elements on the page

Links

My Process

Built with

  • Semantic HTML5 markup
  • CSS Animations
  • CSS Grid
  • SCSS
  • Javascript
  • Mobile-first workflow

What I learned

When I uploaded my solution to Vercel, I noticed the hero background image was loading slower and showing up halfway through the animation. I used this handy solution from CSS Tricks, which utilizes the animation-play-state property in order to pause the animations until images are loaded.

Extras

Additions that go beyond the original challenge and design:

  • The mobile menu will close if clicking outside the menu or header (as well as by using the menu button, of course).
  • Animated hero section, with slightly different versions for mobile and desktop layouts.