Confetti-Calculator is a web-based scientific calculator built using Vite and React, featuring a unique ConfettiExplosion effect alongside standard and scientific functions.
- Standard Calculator Functions: Includes basic arithmetic operations (+, -, *, /).
- Scientific Functions: Extends functionality with trigonometric functions (sin, cos, tan), logarithmic functions (ln, log), factorial (!), square root (√), and more.
- ConfettiExplosion: Enjoy a fun visual effect with confetti when performing specific operations (e.g., 2 * 6).
- Day-Night Toggle: Switch between light and dark themes for different viewing preferences.
- Responsive Design: Ensures usability on various devices and screen sizes.
Explore the live demo of Confetti-Calculator here
- Frontend: Vite for fast development and React.js for building the user interface.
- Styling: Custom CSS for calculator layout and MaciOS-inspired design.
- Animations: ConfettiExplosion implemented using react-confetti-explosion library.
- Responsive Design: Tailored for seamless use across desktop and mobile platforms.
To run the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/tauqueeralam42/Confetti-Calculator.git
- Navigate to the project directory:
cd Confetti-Calculator
- Install dependencies :
cd ../Confetti-Calculator
- Start the frontend:
cd ../Confetti-Calculator npm run dev
- Open your browser and visit http://localhost:5173 to view the application.
- Use the numeric keypad and operators to perform calculations.
- Click on scientific functions like sin, cos, tan, ln, log, √, !, x², x³, xʸ, eˣ, 10ˣ to apply these operations.
- Toggle between day and night mode using the toggle button for different viewing preferences.
- Experience the ConfettiExplosion effect when performing specific operations like 2 * 6.
For any questions or suggestions, feel free to reach out.
- GitHub: tauqueeralam42
- Email: tauqueeralam42@gmail.com.com