Soft gray calculator interface with rounded buttons and a toggle switch; one state shows light mode, the other shows dark mode with neon accents

Neumorphic Dark Mode Calculator

This Neumorphic Dark Mode Calculator brings the “Soft UI” trend to life with a fully functional mathematical tool. It features a realistic, extruded plastic look achieved through complex CSS box-shadows. A prominent toggle allows users to switch between a clean light theme and a high-contrast dark mode, instantly updating the shadow physics to maintain the illusion of depth.

Technologies:
HTML CSS JavaScript
Difficulty: Intermediate
Browser Support (as of Jan 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11+
Features:
Neumorphism Dark Mode Toggle Copy to Clipboard Vanilla JS Math
Code by: Hocine Saad Hocine Saad
License: MIT
Calculator

Calculator

A responsive calculator interface with distinct functional zones powered by CSS Grid and immediate string evaluation.

See the Pen Calculator.

Compound Interest Calculator for Trading

Compound Interest Calculator for Trading

A fully functional compound growth calculator implemented in pure JavaScript for managing financial goals. The demo features localStorage for saving user inputs and a core while loop that iteratively calculates daily gains and projected goal dates.