We Stand With Palestine

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:

  1. Create a layout with a display screen and a grid of buttons.
  2. Add buttons for numbers 0-9, decimal point (.), and arithmetic operators (+, -, *, /).
  3. Include distinct buttons for 'Clear' (C) and 'Delete' (DEL) functions.
  4. Use the following class names for testing purposes:
  5. - Display input: `calc-display`
  6. - Number buttons: `btn-0` to `btn-9`
  7. - Operators: `btn-add`, `btn-subtract`, `btn-multiply`, `btn-divide`
  8. - Functions: `btn-equals`, `btn-clear`, `btn-delete`, `btn-dot`
  9. Implement the logic to perform calculations correctly.
  10. 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.