Ja-Uyoma / Calculator

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:TypeScript 89.9%Language:HTML 6.1%Language:CSS 3.6%Language:JavaScript 0.3%