Skip to content

MASAI-CALCULATOR-RETURNS-DOM is a simple, web-based calculator application designed to perform basic arithmetic operations. This project focuses on manipulating the DOM (Document Object Model) to create an interactive and user-friendly interface for performing calculations directly in the browser.

Notifications You must be signed in to change notification settings

Riyasahu0419/MASAI-CALCULATOR-RETURNS-DOM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

MASAI-CALCULATOR-RETURNS-DOM

MASAI-CALCULATOR-RETURNS-DOM

MASAI-CALCULATOR-RETURNS-DOM is a simple, web-based calculator application designed to perform basic arithmetic operations. This project focuses on manipulating the DOM (Document Object Model) to create an interactive and user-friendly interface for performing calculations directly in the browser.

Features

  • Basic Arithmetic Operations: Supports addition, subtraction, multiplication, and division.
  • Clear Function: Allows users to reset the calculator and start a new calculation.
  • Responsive Design: Ensures the calculator is usable on various devices and screen sizes.
  • Interactive UI: Provides an easy-to-use interface with buttons for digits and operations.

Technologies Used

  • HTML: Structure of the calculator interface.
  • CSS: Styling for the calculator to make it visually appealing.
  • JavaScript: Logic for the calculator operations and DOM manipulation.

Getting Started

Prerequisites

To run this project, you need a web browser. No additional installations are required.

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/MASAI-CALCULATOR-RETURNS-DOM.git

Navigate to the project directory:

cd MASAI-CALCULATOR-RETURNS-DOM

Running the Application

1.Open index.html in your preferred web browser:

open index.html

or

double-click index.html

Usage

  • Click on the number buttons (0-9) to input digits.
  • Click on the operation buttons (+, -, *, /) to perform calculations.
  • Click the = button to display the result.
  • Click the C button to clear the current input and start over.

Project Structure

MASAI-CALCULATOR-RETURNS-DOM/
├── index.html
├── styles.css
└── script.js
  • index.html: Contains the HTML structure of the calculator.
  • styles.css: Contains the CSS styles for the calculator.
  • script.js: Contains the JavaScript code to handle calculator logic and DOM manipulation.

Steps to Contribute

1.Fork the repository.

  • Create a new branch:
git checkout -b feature/your-feature-name

Make your changes and commit them:

git commit -m "Add some feature"

Push to the branch:

git push origin feature/your-feature-name

Happy calculating! If you have any questions or need further assistance, feel free to reach out.

Email:riyasahu678876@gmail.com

About

MASAI-CALCULATOR-RETURNS-DOM is a simple, web-based calculator application designed to perform basic arithmetic operations. This project focuses on manipulating the DOM (Document Object Model) to create an interactive and user-friendly interface for performing calculations directly in the browser.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages