Skip to content

gurusatsangi/web-devlopment-mini-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧮 Calculator Web App

A simple, clean, and responsive Calculator Web Application built using HTML, CSS, and JavaScript. This project performs basic arithmetic operations and includes a stylish UI with gradient buttons and a smooth display area.

🚀 Features

✔ Basic arithmetic operations: +, -, ×, /, % ✔ Clear (AC) and Delete (DEL) buttons ✔ Supports decimal values ✔ Double zero (00) button ✔ Responsive and modern UI ✔ Gradient style buttons ✔ Smooth display animation ✔ Beginner-friendly project

📸 Preview Calculator UI Calculator preview

(Replace with your actual screenshot or keep as it is.)

🛠️ Tech Stack

HTML5 – Structure

CSS3 – Styles & UI

JavaScript (Vanilla JS) – Functionality

📁 Project Structure calculator/ │── index.html │── style.css │── script.js │── README.md

🔧 How to Run

Clone this repository:

git clone https://github.com//.git

Open the folder.

Run index.html in your browser (or use Live Server in VS Code).

🧩 Code Highlights

  • HTML

Handles layout of buttons, display screen, and calculator container.

  • CSS

Gradient UI

Centered layout

Modern look with rounded corners

Hover & active effects

  • JavaScript

Full evaluation using event listeners

Handles AC, DEL, %, decimal, and chain operations

📚 Learning Outcomes

By building this project, you learn:

DOM manipulation

Event handling

Building real-world UI

Designing gradients and shadows

Making responsive components

🎯 Future Improvements

Possible upgrades:

Add keyboard support

Add scientific calculator features

Add dark/light theme toggle

Save previous calculations

🤝 Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

📜 License

This project is open-source and available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors