Welcome to my JavaScript learning journey!
This repository contains all the JS files and folders I’ve worked on — from basic concepts to asynchronous programming, DOM manipulation, and browser events.
I’ve been exploring JavaScript from the ground up — starting with syntax and logic, moving through arrays and loops, and now diving into promises, async functions, and DOM-based event handling.
This repo acts as my practice zone and a reflection of everything I’ve learned so far.
Var&itsRule.js→ Variables & naming rulesDatatypes&Objects.js→ Data types and working with objectsExpression&Condition.js→ Expressions, operators, and conditional logicbacktick.js→ Template literals and string interpolationprintMarks.js→ Simple logic examplestringmethod.js→ Common string methodsArrayMethods.js→ Array functions likemap(),filter(),reduce()loopsinArray.js→ Iterating arrays efficientlyfactorial.js→ Factorial using loops and recursion
index.html→ Basic structure for testing JSscript.js→ Demonstration of Promises with.then()and.catch()PromiseAPI.js→ Multiple promise handling and chaining
🧩 Concepts Practiced:
- Promise creation
- Chaining multiple
.then() - Handling errors using
.catch() - Understanding synchronous vs asynchronous flow
DOM.html→ Base HTML for DOM experimentsDOM.js→ Selecting, modifying, and creating elements dynamicallyInsertion/→ DOM insertion examplesquestion/→ Practice files for real DOM use cases
🧠 Concepts Covered:
getElementById,querySelector, andcreateElement()- Changing content and attributes dynamically
- Handling HTML structure using JS
Bubbling/→ Event bubbling and propagationclearInterval/,clearTimeout/→ Stopping timerssignal events/→ Working with custom events
🎯 Concepts Practiced:
- Event bubbling vs capturing
- Timer control (
setTimeout,setInterval) - Handling user interaction events
- Quiz App → DOM + event handling practice
- Weather API → Using fetch and promises
- Factorial Visualizer → Logic visualization
- To-Do App → DOM manipulation + local storage
- Editor: VS Code
- Browser: Chrome
- Runtime: Node.js
- Version Control: Git & GitHub
Prince Patra — Learning, building, and experimenting with JavaScript.
📬 Contact Me:
- Gmail: princepatra9951@gmail.com
- LinkedIn: linkedin.com/in/theprincepatra-1p1
💡 “Keep building, keep breaking, keep learning.”
Every bug is one step closer to mastery.