https://github.com/ompreetham/tip-calculator-app
Tip Calculator App a challenge by Frontend Mentor.io
https://github.com/ompreetham/tip-calculator-app
app calculator css front-end front-end-development frontend frontend-mentor frontendmentor-challenge html javascript js react render scss tip vite website
Last synced: 2 months ago
JSON representation
Tip Calculator App a challenge by Frontend Mentor.io
- Host: GitHub
- URL: https://github.com/ompreetham/tip-calculator-app
- Owner: OmPreetham
- License: mit
- Created: 2024-04-15T20:35:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-25T14:35:18.000Z (about 2 years ago)
- Last Synced: 2026-01-03T14:23:45.830Z (6 months ago)
- Topics: app, calculator, css, front-end, front-end-development, frontend, frontend-mentor, frontendmentor-challenge, html, javascript, js, react, render, scss, tip, vite, website
- Language: TypeScript
- Homepage: https://ompreetham.github.io/tip-calculator-app/
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tip Calculator App
This is a simple tip calculator app built using React, SCSS, and Vite. It allows users to calculate the tip amount based on the bill amount and selected tip percentage.
## Features
- Calculate tip amount based on bill amount and selected tip percentage.
- Responsive design.
- Uses BEM (Block Element Modifier) naming convention for CSS classes.
- Built with React for efficient UI updates.
## Technologies Used
- React
- SCSS (Sass)
- Vite (Frontend build tool)
- HTML
- JavaScript
### Previews
Desktop

Mobile

## Getting Started
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
### Prerequisites
Make sure you have Node.js and npm (or yarn) installed on your machine.
### Installation
1. Clone this repository to your local machine using the following command:
```
git clone https://github.com/OmPreetham/tip-calculator-app.git
```
1. Navigate into the project directory:
```
cd tip-calculator-app
```
1. Install dependencies using npm:
```
npm install
```
## Usage
To run the project, use the following command:
```
npm run dev
```
This will start a development server and open the project in your default web browser. Any changes you make to the source code will be hot-reloaded, meaning you can see the updates in real-time.
## Build
To build the project for production, use the following command:
```
npm run build
```
This will start a development server and open the project in your default web browser. Any changes you make to the source code will be hot-reloaded, meaning you can see the updates in real-time.
## Build
To build the project for production, use the following command:
This will create an optimized build of the project in the `dist` directory.
## Additional Information
- This project was scaffolded using Vite, a blazing fast frontend build tool.
- It uses React for building the user interface.
- Feel free to customize the project according to your needs.
## License
This project is licensed under the [MIT License](LICENSE).