Skip to content
jshacks.dev

Tag

math

1 post

Flat illustration of a browser and a server trading a request and a response, with the JavaScript, Google Chrome, Postman and Swagger logos.
Browser

Build a Calculator in Vanilla JavaScript

Build a calculator in vanilla JavaScript with a pure state reducer, button and keyboard input, decimals, division by zero and floating-point rounding fixes.

8 min read