Insure, responsive landing page.

An accessible and responsive landing page for an insurance service.

Screenshot of my implementation of the "Insure landing page" on desktop.

Github repository Live demo

Overview

_An accessible and responsive landing page for an insurance service

How to run the project

  1. git clone HTTPS_REPO_URL MY-FOLDER-NAME
  2. cd MY-FOLDER-NAME
  3. npm install
  4. npm run dev
  5. visit http://localhost:3000

Features

  • Responsive
  • Accessible
  • Mobile menu toggling

Technologies

  • HTML5
  • CSS3
  • Vite.js

Description

This is my implementation of the Insure landing page challenge on Frontend Mentor.

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 — Frontend Mentor

How I built this project

The landing page is implemented following a mobile-first approach.

Screenshot of my implementation of the Insure landing page on mobile.

The HTML

I started by structuring the page with semantic and accessible HTML.

Working on the CSS: matching the design

This project includes wavy decorative patterns and a hero image. Some of these elements overflowing their parent element, others being contained within them. Added to that, their visibility changes according to the viewport’s size.

Hence depending on the element and the screen width, I either added the images directly in HTML or through CSS.

This allowed me to reduce the amount of JavaScript needed to complete the project.

Minimal JavaScript

The JavaScript toggles the .mobile-menu-open class on mobile.

Status

Planned changes

  • [ ] Improve accessibility.
  • [ ] Improve SEO.

Sources

Author

Leave a Reply

Your email address will not be published. Required fields are marked *