Skip to content

Ajay12git/Interactive-Web-Calculator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ajay's Calculator 🧮⚡

Ever wanted a calculator that actually looks cool and doesn’t bore you with boring buttons? Meet Ajay's Calculator—your new math buddy with gradients, shadows, and a dark mode that won’t judge you for your mistakes.

Live Demo: Ajay's Calculator


What Makes This Calculator Special?

  • It does math (obviously) – basic stuff like +, −, ×, ÷, %, and advanced moves like √, x², and x^y.
  • Looks good while doing it – buttery-smooth buttons, subtle hover effects, and gradients that actually make sense.
  • Dark Mode – because math at night shouldn’t hurt your eyes.
  • History Tracking – remembers your last 50 calculations, because everyone forgets the answer sometimes.
  • Keyboard Friendly – type numbers and operations directly. Bonus points for shortcut keys:
    • D → Toggle dark/light mode
    • H → Open/close history
    • C → Clear screen
    • S → Start a square root

How to Use (aka “Press Stuff and Profit”)

  1. Click buttons or type numbers and operators.
  2. Press = or Enter to see magic happen.
  3. Press C to erase your mistakes (we all have them).
  4. Press to backspace like a pro.
  5. Use the purple buttons for fancy operations like powers and square roots.
  6. Toggle dark mode if your eyes demand it.
  7. Open history to relive your glory or shame.

Built With

  • HTML5 – the bones
  • CSS3 + TailwindCSS – the bling
  • JavaScript – the brains
  • FontAwesome – the tiny icons that make big impressions

License

Open-source, free for you to play, tweak, or admire. MIT License, because math should be free.


Made with 🔥 and a little bit of chaos by Ajay

About

Simple JavaScript Calculator by Harsh Trivedi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 54.3%
  • JavaScript 37.0%
  • CSS 8.7%