Skip to content

GeorgeZisis95/calculator-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧮 NeoHack Calculator

A simple yet sleek calculator built with vanilla JavaScript, HTML, and CSS.
This project features a custom-built calculation function and a stylish neo-hacking aesthetic.

✨ Features

  • 🔢 Custom calculation function:
    • Splits input, detects the operator, and performs the correct math operation
  • 🎨 CSS Grid layout for clean, responsive design
  • 🖤 Neo-hacking theme with a cyber-inspired font and color scheme
  • 💻 Built using:
    • HTML
    • CSS (Grid)
    • JavaScript

⚙️ How It Works

Instead of using eval() or third-party libraries, the calculator uses a homemade parser:

  1. User enters a mathematical expression.
  2. Input is split into operands and operator.
  3. The function evaluates the expression based on the detected operator (+, -, *, /, etc.).

🚀 Getting Started

  1. Clone the repository:
    git clone https://github.com/GeorgeZisis95/calculator.git

About

Calculator with custom math parser, styled with CSS Grid and a neo-hacking color scheme.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors