Skip to content

THIS IS SPAM [V3]: Implement new Concept Exercise: calculator #4056

@Esayed11

Description

@Esayed11

This issue describes how to implement the calculator concept exercise for the python track.

Getting started

Please read the docs before starting to ensure a smooth contribution process:

Goal

Develop a new concept exercise introducing learners to the basics of building a calculator.

  • The exercise should teach front-end implementation concepts via simple UI, state management, and basic arithmetic operations.

Learning objectives

  • Building a basic user interface (UI)
  • Handling arithmetic operations: addition, subtraction, multiplication, division
  • Managing and displaying state/results to users
  • Input validation and error handling (e.g., division by zero)

Out of scope

  • Advanced UI frameworks or libraries
  • Non-arithmetic operations
  • Persistent storage integration

Concepts

  • Basic HTML, CSS, and JavaScript integration
  • Arithmetic operations
  • DOM manipulation for UI response

Prerequisites

  • Familiarity with basic HTML, CSS, and JavaScript syntax

Resources to refer to

Concept Description

Implementation Notes

  • Adhere to basic coding principles and keep the logic clear and well-commented.
  • Testing is not mandatory for this exercise but is recommended for maintainability.

If you have any questions while implementing the exercise, please post them as comments in this issue or contact one of the maintainers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions