A personal learning workspace containing small JavaScript examples and exercises organized by topic. Each folder contains bite-sized demos meant for experimenting in the browser and practicing core JavaScript concepts.
This repository is a hands-on collection of examples covering DOM events, async programming, ES6 features, array helpers, loops, OOP basics, and small animations using GSAP — designed for incremental learning and quick experimentation.
- Clone or open the workspace in your editor.
- Most examples are plain HTML/JS; open the folder you want and open the
index.html(or the highlighted HTML file) in your browser. - Example: open events/index.html to try the feedback form demo.
events— DOM events and a feedback form example.async programming— promises, async/await, and callbacks examples.gsap/gsap learning— small animation demos using GSAP.destructuring,spread operator,template strings— focused ES6 feature examples.for of loop,for in loop,controlflow-conditional-statements— loop and control-flow practice.
Explore other folders for many short, focused examples used while learning JavaScript.
- Use the browser DevTools console to inspect behavior and experiment with variables.
- If a script reads input values too early, move
.valuereads inside the event handler so values are captured at submit time.
- This repository is for personal learning. Feel free to suggest improvements or open an issue if you want a clearer walkthrough for any example.
Free to use for learning and experimentation.