Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 965 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 965 Bytes

JS Calculator

Description

This is a simple calculator app created with HTML, CSS, and vanilla JS as a FrauenLoop student practice project.

JS Calculator

JavaScript calculator: screenshot

Features

  • Performs addition, subtraction, multiplication, and division

  • Support of multi-digit numbers

  • Additional buttons and functionality:

    • , — adds a floating point
    • +/- — changes the sign
    • % — converts to percentage
  • Support of chained calculations (no need to press/click/tap = every time)

  • Automatic reset when starting a new calculation (no need to press/click/tap AC each time)

  • More or less well-behaving floats

  • Breaks down spectacularly upon dividing by zero 💥:bomb:💥

  • Responsive layout

Code

HTML, CSS (with Flexbox, Grid, and media queries), JavaScript (ES6)