Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/haquanq/fm-tip-calculator-app

Solution for frontendmentor.io challenge: tip-calculator-app
https://github.com/haquanq/fm-tip-calculator-app

accessibility css frontendmentor frontendmentor-challenge frontendmentor-solution html javascript js

Last synced: 9 days ago
JSON representation

Solution for frontendmentor.io challenge: tip-calculator-app

Awesome Lists containing this project

README

        

# Frontend Mentor - Tip calculator app solution

This is a solution to the [Tip calculator app challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/tip-calculator-app-ugJNGbJUX). Frontend Mentor challenges help you improve your coding skills by building realistic projects.

## The challenge

- No access to design files, attempt pixel-perfect

Users should be able to:

- View the optimal layout for the app depending on their device's screen size
- See hover states for all interactive elements on the page
- Calculate the correct tip and total cost of the bill per person

## Solution

- Built with: `HTML` `CSS` `JS`
- Mobile-first workflow
- Accessible for screen readers

![](./.docs/design/desktop-design-empty.jpg)

# Working in `fm-tip-calculator-app` repository

## Clone this project to your machine

Make sure you have Git + NodeJS installed in your system, open new terminal, run the following command:

```
git clone https://github.com/haquanq/fm-tip-calculator-app.git
```

Then, run `npm install` to install all dependencies.

```
npm install
```

## Development workflow

In terminal, run `npm run dev` to start development server:

```
npm run dev
```