This repository is a small JavaScript practice project covering foundational browser scripting, DOM manipulation, async programming, objects, promises, and OOP concepts.
index.html– basic DOM examples and JavaScript usageAPIRequest/– example of fetching GitHub user data usingXMLHttpRequestAsyncProject/– JavaScript async and timer examplesautoChangeColour/– color-changing interaction examplesclosures/– closure-related exampleOPP/– object-oriented programming examples, classes, inheritance, prototypespromise/– Promise and async/await learning examples
- JavaScript basics
- DOM manipulation
- Events and browser interaction
- API requests
- Timers and async flow
- Closures
- OOP concepts
- Classes and prototypes
- Promises and async/await
- Open the project folder in any code editor.
- Open any HTML file in a browser.
- If you want a smoother workflow, use a VS Code extension like Live Server.
Example:
- Open
index.htmlin the browser - Open
APIRequest/index.htmlfor the API request demo - Open
closures/closures.htmlfor the closure example
This project is designed for learning and experimentation. Most files are simple script examples and are not meant to be a production app.
index.htmlAsyncProject/promise/APIRequest/OPP/closures/
This project is a personal JavaScript learning repository.