Skip to content

dougwt/vanilla-js-calculator

Repository files navigation

vanilla-js-calculator

A simple 4-function calculator implemented using plain-old vanilla JavaScript, HTML, and CSS. It recognizes keyboard shortcuts for quick calculations and displays the current state of the calculator’s memory below the interface. This project was undertaken as an exercise in breaking away from my reliance on frontend frameworks like jQuery and Twitter Bootstrap.

Getting Started

Prerequisites

If you would like to run a local instance of this app in developer mode, the easiest method is using npm, the package manager included with Node.js.

  1. Install Node.js

  2. Install the required JavaScript dependencies using npm

npm install

Running the app

  • Run npm run serve to start webpack-dev-server for local development.
  • Run npm run build to generate the static files ready for deployment to your production server.

License

vanilla-js-calculator is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this code. If not, see http://www.gnu.org/licenses/.

About

A basic 4-function calculator implemented in HTML, CSS, and JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published