A beginner-friendly JavaScript learning repository with step-by-step lessons and practical examples.
This repository is designed for people who are new to JavaScript and want to learn by following small, numbered lessons. Each folder contains a focused topic, sample code, and simple exercises to help build foundational skills.
01_JavaScript Introduction— Basic JavaScript concepts and simple examples02_JavaScript Variables— Variable declaration, data types, and assignments03_JavaScript Conditional— If statements, comparison operators, and decision-making04_JavaScript Loops— Loop structures likefor,while, and iteration patterns05_JavaScript Functions— Creating and using functions06_JavaScript Faulty Calculator— Basic arithmetic and debugging logic07_JavaScript string— String handling and text operations08_JavaScript Businnes Name generator— Project example with random names09_JavaScript Array— Array creation and manipulation10_JavaScript Calculate the Factorial— Math exercises and algorithm practice11_JavaScript Document Object Model— DOM basics12_JavaScript DOM Child— Working with DOM child elements13_JavaScript DOM Selector— Selecting elements from the page14_JavaScript DOM Challenge— DOM practice challenge15_JavaScript DOM Insert & Remove— Adding and removing page elements16_JavaScript dynamic Website— Dynamic content updates17-JavaScript Events— Event handling in the browser18_JavaScript Callbacks & Promises— Asynchronous patterns19_JavaScript AsyncAwait & Fetch— Modern async code and data fetching20_JavaScript Hacker's Terminal— Interactive terminal-style UI example21_JavaScript Error Handling— Try/catch and debugging techniques22_JavaScript Object Oriented Programming— Classes and objects23_Advanced JavaScript— More advanced language features24_JavaScript Practice— Practice problems and exercises25_JavaScript Naatify clone— Project build example26_Backend,node.js,npm— Introduction to Node.js and npm27_JavaScript CommonJs Vs EcmaScript Modules— Module systems comparison28_JavaScript Working with Files fs and path Modules— File operations in Node.js29_JavaScript Express Js— Express framework basics30_JavaScript Response Request and Routers in Express— Express routing31_JavaScript Middlewares in Express Js— Middleware usage32_JavaScript Excercise CLear_the_Clutter— Express exercise project33_JavaScript ejs Template Engine in Express— EJS templating34_JavaScript MongoDB & MongoDB Compass— MongoDB introduction35_JavaScript CRUD Operations in MongoDB— Database create/read/update/delete36_JavaScript Installing Mongoose and Using it with Express— Mongoose setup37_JavaScript Dummy Data Generator— Generating test data38_JavaScript Tailwind— Tailwind CSS basics39_JavaScript Design This Layout— UI layout practice40_JavaScript X (Twitter) Clone— Clone project example41_JavaScript What is Hosting Where to Host Which Hosting— Hosting overview42_JavaScript Hosting an Express App on Ubuntu VPS using Hostinger— Deployment guide43_JavaScript Introduction to React and Why use React— React basics44_JavaScript Components, Props and JSX in React— React component fundamentals44_JavaScript Hooks and State in React— React hooks and state management45_JavaScript The useEffect Hook in React—useEffecthook usage46_JavaScript The useRef Hook in React—useRefin React47_JavaScript Conditional Rendering and Rendering Lists in React— Rendering techniques48_JavaScript Display the card using react— React UI example49_JavaScript Handling Events in React— Event handling in React50_JavaScript TodoList App using React Tailwind and React Icons— React project example51_JavaScript React Router Routing in React— React Router basics
- Open the folder for the lesson you want to study.
- Read the files and review the code examples.
- Open any HTML file in a browser to see the JavaScript in action.
- Modify the code and experiment with changes to learn faster.
- Start from lesson
01_JavaScript Introductionand continue in order. - Practice by changing values, adding new examples, and testing behavior.
- Use the browser console to inspect output and debug issues.
- This repository is for learning and practice, not a polished production app.
- Files are organized by topic to make it easy to follow the learning path.