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

https://github.com/haquanq-frontendmentor/bento-grid

Solution for frontendmentor.io challenge: bento-grid
https://github.com/haquanq-frontendmentor/bento-grid

css frontendmentor frontendmentor-junior html postcss stylelint

Last synced: 2 months ago
JSON representation

Solution for frontendmentor.io challenge: bento-grid

Awesome Lists containing this project

README

          

## Frontend Mentor - Bento Grid Solution

This is a solution to the [Bento grid challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/bento-grid-RMydElrlOj). Frontend Mentor challenges help you improve your coding skills by building realistic projects.



Solution post


Live demo


![](./docs/preview.jpg)

## Table of Contents

- [Project overview](#sunrise-project-overview)
- [Development workflow](#stars-development-workflow)
- [Working in this repository](#astronaut-working-in-this-repository)

## :sunrise: Project Overview

### Challenge Requirements

- View the optimal layout depending on their device's screen size

### Status

Accessibility

- [x] Responsive accross different screen sizes

### Preview

## :stars: Tech Stack and Approach

### Built With

- **HTML5** – Semantic structure
- **CSS Grid & Flexbox** – Layout
- **PostCSS** – Nested rules, custom media queries, future CSS features, minification
- **Stylelint** – CSS linting, code style consistency
- **Vite** - Fast development server, production build and easy configuration

### Approach

- Mobile-first workflow for better performance on smaller devices
- Accessibility guided by [ARIA Authoring Practices Guide (APG)](https://www.w3.org/WAI/ARIA/apg/)

## :leaves: Local Development

### Prerequisites

Install the following:

- Git (latest version)
- Node.js (latest LTS recommended)
- pnpm (latest version)

### Setup

```
git clone https://github.com/haquanq-frontendmentor/bento-grid.git
cd bento-grid
pnpm install
```

### Start Development Server

```
pnpm dev
```

## :maple_leaf: Deployment

Deployed to Github Pages via Github Action.