Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/agataliberska/four-card-feature

Responsive four card feature section using CSS grid - Frontend Mentor challenge
https://github.com/agataliberska/four-card-feature

css-grid-layout responsive-web-design sass-framework vanilla-javascript

Last synced: 26 days ago
JSON representation

Responsive four card feature section using CSS grid - Frontend Mentor challenge

Awesome Lists containing this project

README

        

# Frontend Mentor - Four card feature section

![Design preview for the Four card feature section coding challenge](./design/desktop-preview.jpg)

## Link to finished project

![You can view the finished project here](https://four-card-feature-taupe.vercel.app/)

## Goals

The goal is to recreate the above design as closely as possible using any tools.

## Technologies used

For this project, I used:
* semantic HTML
* Sass
* BEM naming methodology
* CSS grid
* Mobile first
* RWD

For additional effects, I added box-shadow to each card and hover effect on card headings.

## Challenges

As an additional challenge, I wanted to make each card a clickable link while ensuring that they remain fully accessible.

Placing a `

` inside the anchor tag is not a good solution, as it causes accessibility issues for screenreader users. It would also make it impossible to select a portion of text in that `
`.

Instead, I solve this issue by adding an event listener on each of `