Skip to content

Calculator App is a simple web application designed for basic arithmetic calculations. Built with HTML, CSS, and JavaScript, it offers a straightforward interface for performing addition, subtraction, multiplication, and division operations.

Notifications You must be signed in to change notification settings

KyleFox2/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator App

Description: Calculator App is a simple web application designed for basic arithmetic calculations. Built with HTML, CSS, and JavaScript, it offers a straightforward interface for performing addition, subtraction, multiplication, and division operations.

Overview

This app is a convenient tool for maths. It leverages JavaScript to handle the logic behind operations, and I've assured quality within the application through Cypress and JS for the automated end-to-end testing.

Features

  • Simple Interface: The app features a clean and minimalist design, making it easy for users to input numbers and operators.
  • Arithmetic Operations: Users can perform addition, subtraction, multiplication, and division operations seamlessly.
  • All Clear and Delete Functions: With the "AC" button, users can clear all operands, while the "DEL" button allows for the deletion of the last entered character.
  • Responsive Design: The app adapts to different screen sizes, ensuring a consistent user experience across devices.

Usage

Running the App

To use the Calculator App, simply open the index.html file in any web browser of your choice. The calculator interface will be displayed, ready for calculations.

Testing

The app includes Cypress tests to validate its functionality. Follow these steps to run the tests:

  1. Ensure Cypress is installed (npm install cypress --save-dev).
  2. Navigate to the cypress directory.
  3. Run cypress open to open the Cypress Test Runner.
  4. Click on the test file (calculator_spec.js) to execute the tests.

About

Calculator App is a simple web application designed for basic arithmetic calculations. Built with HTML, CSS, and JavaScript, it offers a straightforward interface for performing addition, subtraction, multiplication, and division operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published