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

https://github.com/autumnchris/calculator-vanilla-js

A front-end web app that does arithmetic operations equivalent to a simple calculator. Built with vanilla JS.
https://github.com/autumnchris/calculator-vanilla-js

babel calculator css css3 es6 freecodecamp html html5 javascript javascript-calculator-challenge js-classes sass scss simple-calculator the-odin-project theodinproject vanilla-javascript vanilla-js vanillajs webpack

Last synced: 21 days ago
JSON representation

A front-end web app that does arithmetic operations equivalent to a simple calculator. Built with vanilla JS.

Awesome Lists containing this project

README

        

# Calculator (vanilla JS)

A front-end web app that does arithmetic operations equivalent to a simple calculator. Built with vanilla JS.

Inspired by both the [Build a JavaScript Calculator challenge](https://learn.freecodecamp.org/front-end-libraries/front-end-libraries-projects/build-a-javascript-calculator) as part of the curriculum for the [Front End Development Libraries Certification](https://www.freecodecamp.org/learn/front-end-libraries) on [freeCodeCamp](https://www.freecodecamp.org) as well as the [Calculator assignment](https://www.theodinproject.com/paths/foundations/courses/foundations/lessons/calculator) as part of the curriculum for the [Foundations Course](https://www.theodinproject.com/paths/foundations/courses/foundations) on the [The Odin Project](https://www.theodinproject.com).

---

## Built With
* Vanilla JS
* JavaScript
* [Sass](http://sass-lang.com)
* CSS3
* HTML5
* [Node.js](https://nodejs.org/en)
* [Webpack](https://webpack.js.org)
* [Babel](https://babeljs.io)
* [Normalize.css](https://necolas.github.io/normalize.css)
* [Digital 7 font](https://www.dafont.com/digital-7.font)
* [Google Fonts](https://fonts.google.com)
* [Font Awesome](https://fontawesome.com)

## Demo

View project demo at [https://autumnchris.github.io/calculator-vanilla-js](https://autumnchris.github.io/calculator-vanilla-js).

## Instructions

After forking and cloning, navigate to the repository in your command line and install the NPM packages:
```
npm install
```

Run the following script in your command line to run the application:
```
npm start
```

Once the server is running, go to `http://localhost:8080` in your browser.

Before committing any changes, run the following script to update your static files for production:
```
npm run build
```