A practical JavaScript project demonstrating Object-Oriented Programming concepts including object methods, ES6 classes, private fields, and encapsulation principles.
This project implements three core JavaScript OOP concepts:
- Object Methods & Context - Working with object methods and the
thiskeyword to manage customer data, balances, and order processing - Storage Class - A class implementation with private fields for managing item collections with add/remove functionality
- StringBuilder Class - A string manipulation class demonstrating encapsulation and method chaining patterns
- JavaScript (ES6+) - Classes, private fields, object methods
- HTML5 - Structure and module scripts
- GitHub Pages - Deployment
- Object with methods for balance management
- Discount calculation and order processing
- Working with
thiscontext
- ES6 class with private fields (
#items) - Methods:
getItems(),addItem(),removeItem() - Encapsulation and data privacy
- String manipulation with private state
- Methods:
getValue(),padStart(),padEnd(),padBoth() - Immutable-style string building
# Clone the repository
git clone https://github.com/helen-akateva/goit-js-hw-06.git
# Navigate to project directory
cd goit-js-hw-06
# Open in browser
# Simply open index.html or use a local serverOlena Akatieva
- LinkedIn: linkedin.com/in/olena-akatieva
- GitHub: @helen-akateva