/calculator

A JavaScript calculator

Primary LanguageJavaScriptMIT LicenseMIT

JavaScript Calculator

This is a solution to the project: Calculator from The Odin Project's curriculum.

Table of contents

Overview

The challenge

  • Your calculator is going to contain functions for all of the basic math operators you typically find on simple calculators, so start by creating functions for the following items and testing them in your browser’s console.

    • add
    • subtract
    • multiply
    • divide
  • More details

Screenshot

screenshot

Links

🔗 Live preview: link

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • CSS Grid
  • JavaScript

What I learned

  • JavaScript.
  • HTML DOM manipulation with Javascript.
  • Generating DOM elements from JavaScript

Continued development

Useful resources

  • The Odin Project's Course - This helped me understand how to carry out DOM manipulation.

Author

👤 Manik Rana

💻 The Odin Project