ThinkCalc is a stylish calculator web application inspired by the iconic IBM/Lenovo ThinkPad design. It features a sleek black design with a distinctive red trackpoint (the small red dot found on ThinkPad keyboards), creating a nostalgic yet functional calculator experience.
- Basic arithmetic operations (addition, subtraction, multiplication, division)
- Percentage calculations
- Clear and All Clear functions
- Positive/negative number toggle
- Decimal point support
- ThinkPad-inspired design with the iconic red trackpoint
- Responsive layout for different screen sizes
index.html- The main HTML structure of the calculatorcalculator.css- Styling for the calculator and ThinkPad information sectioncalculator.js- JavaScript functionality for the calculator operations
- Clone or download the repository
- Open
index.htmlin your web browser - Start calculating with ThinkPad style!
- Use number buttons (0-9) to input values
- Press operation buttons (+, -, X, ÷) to perform calculations
- Use "=" to compute the result
- "AC" button clears all entries
- "C" button removes the last digit entered
- "+/-" toggles between positive and negative numbers
- "%" calculates percentages
- "." adds a decimal point
The calculator implements the following features:
- Event listeners for button interactions
- Operation logic for basic arithmetic
- Sequential calculation support (continuing operations with previous results)
- Display formatting for current and previous operations
- ThinkPad styling with CSS
ThinkCalc draws inspiration from the IBM ThinkPad, the iconic laptop series known for its reliability and the distinctive red TrackPoint. First launched in 1992 by IBM and later acquired by Lenovo in 2005, ThinkPad revolutionized portable computing with its black, boxy design and exceptional keyboard.
ThinkCalc works on all modern browsers including:
- Google Chrome
- Mozilla Firefox
- Safari
- Microsoft Edge
This project is open-source and available for personal and educational use.
- Memory functions (M+, M-, MR)
- Scientific calculator mode
- History of calculations
- Keyboard support for input
- ThinkPad keyboard click sounds when pressing buttons