TypeScript Calculator
As an assignment for the REACT23S TypeScript course at Business College Helsinki, this project focuses on delivering a straightforward and functional user experience. While it intentionally omits decimal and percentage functionalities to maintain simplicity, it performs basic arithmetic operations such as addition, subtraction, multiplication, and division.
The calculator offers an intuitive interface that accommodates both mouse and keyboard inputs, ensuring flexibility and ease of use. This dual-input capability enhances user experience, making calculations quick and convenient. Moreover, to ensure error-free operations, the application incorporates a user input cleaning mechanism utilizing a simple Moore machine.
Responsive design is another key feature of the Simple TypeScript Calculator, allowing users to perform calculations seamlessly across a variety of devices. Whether on a desktop, tablet, or smartphone, the application adjusts its layout to provide an optimal viewing and interaction experience. The use of Vite and TypeScript in its development ensures not only efficient performance but also a modern, maintainable codebase.