Calculator App
Welcome to the Calculator App challenge! In this page, you can navigate between the different tasks of your challenge and submit your solution for evaluation.
Calculator App
Build a fully functional calculator with basic arithmetic operations.
Instructions:
- Create a layout with a display screen and a grid of buttons.
- Add buttons for numbers 0-9, decimal point (.), and arithmetic operators (+, -, *, /).
- Include distinct buttons for 'Clear' (C) and 'Delete' (DEL) functions.
- Use the following class names for testing purposes:
- - Display input: `calc-display`
- - Number buttons: `btn-0` to `btn-9`
- - Operators: `btn-add`, `btn-subtract`, `btn-multiply`, `btn-divide`
- - Functions: `btn-equals`, `btn-clear`, `btn-delete`, `btn-dot`
- Implement the logic to perform calculations correctly.
- Ensure the 'Delete' button removes the last character and 'Clear' resets the calculator.
Upload Your Web Page Files (Upload a Folder)
Your Uploaded Page
Upload files to see your page here.
Original Task Page
Evaluation Results
Load a task and upload your files to see evaluation results.