Skip to content

ajay-dhangar/scientific-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scientific Calculator

Scientific Calculator is a modern, responsive scientific calculator built using HTML, CSS, and JavaScript. It supports various mathematical functions like trigonometry, logarithms, exponents, and more.

Features

  • Basic operations: addition, subtraction, multiplication, and division.
  • Advanced functions: sin, cos, tan, log, factorial, square, cube, etc.
  • Responsive design with a modern UI.
  • Clear, backspace, and evaluate functionality.
  • Accessible via keyboard and mouse clicks.

Demo

You can view a live demo here.

Screenshots

Screenshot of CalcSphere

Getting Started

Prerequisites

Make sure you have a web browser installed to run the calculator locally.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/calcsphere.git
  2. Navigate to the project directory:

    cd calcsphere
  3. Open the index.html file in your browser to view the calculator:

    open index.html

Usage

  1. Input numbers and operations using either the buttons or your keyboard.
  2. Click on advanced functions like sin, cos, log to perform scientific calculations.
  3. Click C to clear the input or CE to remove the last digit.

Code Structure

  • index.html: Contains the basic HTML structure.
  • style.css: Styles the calculator with responsive, modern design.
  • script.js: Contains JavaScript for handling button clicks and performing calculations.

Technologies Used

  • HTML5
  • CSS3
  • JavaScript ES6

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

👤 Ajay Dhangar

Feel free to reach out if you have any questions or suggestions!

About

Scientific Calculator is a modern, responsive scientific calculator built using HTML, CSS, and JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published