☰ Categories

Scientific Calculator

Give it requirements for a scientific calculator and it returns specs for basic arithmetic, order of operations, trig, log, exponential, and statistics functions, memory, history, and keyboard support.

CategoryDevelopment › Coding
TagsDraftingCode
Prompt
Create a comprehensive scientific calculator with HTML5, CSS3 and JavaScript that mimics professional calculators. Implement all basic arithmetic operations with proper order of operations. Include advanced scientific functions (trigonometric, logarithmic, exponential, statistical) with degree/radian toggle. Add memory operations (M+, M-, MR, MC) with visual indicators. Maintain a scrollable calculation history log that can be cleared or saved. Implement full keyboard support with appropriate key mappings and shortcuts. Add robust error handling for division by zero, invalid operations, and overflow conditions with helpful error messages. Create a responsive design that transforms between standard and scientific layouts based on screen size or orientation. Include multiple theme options (classic, modern, high contrast). Add optional sound feedback for button presses with volume control. Implement copy/paste functionality for results and expressions.

What this prompt does

Good for building a browser calculator UI. It requests handling division by zero and overflow errors, but does not specify numeric precision or a math library.

More in this category

E COMMERCE WEBSITE
Plataforma Escopo Bugbouty Cyber Hunter Lab
Voice Cloning Assistant
2046 Puzzle Game Challenge
21st.dev component prompt
Scientific Calculator