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.
This issue describes how to implement the
calculatorconcept 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.
Learning objectives
Out of scope
Concepts
Prerequisites
Resources to refer to
Concept Description
Implementation Notes
If you have any questions while implementing the exercise, please post them as comments in this issue or contact one of the maintainers.