/Calculator-VanillaJS

A calculator application built using Vanilla JS.

Primary LanguageJavaScript

Calculator-VanillaJS

For this project I have created a fully functioning calculator using Vanilla JavaScript, CSS and HTML.

calculatorJSGIF2

Learning objectives

  • Dom manipulation.
  • Mapping through elements using querySelector.
  • Error handling.
  • Handling number input e.g correctly formatting larger values.
  • Object Orientated Programming.

UI Design

The design I have created includes basic operations, the ability to delete the last entered digit and to reset the operations and screen by pressing AC. The previous operation is visible above the current value.

CalculatorJS

Final UI

calculatorJS