Skip to content

Latest commit

 

History

History
71 lines (42 loc) · 1.29 KB

README.md

File metadata and controls

71 lines (42 loc) · 1.29 KB

Calculator

A simple calculator written in HTML, CSS, and TypeScript, as an exercise from The Odin Project

Description

This project creates a simple calculator application, wherein users can evaluate simple arithmetic expressions.

Background

This project is an exercise from The Odin Project.

Getting Started

Prerequisites

  1. NodeJS and npm

Installation

  1. Clone the repository
git clone https://github.com/Ja-Uyoma/Calculator.git
  1. Change into the project's directory
cd ./Calculator
  1. Install dependencies
npm install

Usage

You can produce either a development or production build of the project.

  • For a development build, run the following command.
npm run dev

After this, you can view the project in your browser at the address localhost:5173.

  • For a production build, run the following command.
npm run build && npm run preview

After this, you can view the project in your browser at the address localhost:4173.

  • To optionally run the tests, run the following command.
npm run test

License

This project is licensed under the MIT license. See LICENSE.md for more information.

Project Status

This project is now complete.