๐ฏ Master JavaScript step-by-step in 30 days
From absolute beginner โ advanced concepts โ real-world project
| Day | Topic | Level |
|---|---|---|
| Day 01 | Variables & Data Types | ๐ข Beginner |
| Day 02 | Operators | ๐ข Beginner |
| Day 03 | Strings & String Methods | ๐ข Beginner |
| Day 04 | Arrays | ๐ข Beginner |
| Day 05 | Objects | ๐ข Beginner |
| Day 06 | Functions | ๐ข Beginner |
| Day 07 | Scope & Hoisting | ๐ก Intermediate |
| Day 08 | Arrow Functions | ๐ก Intermediate |
| Day 09 | Array Methods | ๐ก Intermediate |
| Day 10 | Destructuring | ๐ก Intermediate |
| Day 11 | Spread & Rest Operators | ๐ก Intermediate |
| Day 12 | DOM Manipulation Basics | ๐ก Intermediate |
| Day 13 | DOM Events | ๐ก Intermediate |
| Day 14 | Forms & Validation | ๐ก Intermediate |
| Day 15 | ES6 Classes | ๐ก Intermediate |
| Day 16 | Prototypes & Inheritance | ๐ Advanced |
| Day 17 | Promises | ๐ Advanced |
| Day 18 | Async / Await | ๐ Advanced |
| Day 19 | Fetch API & HTTP | ๐ Advanced |
| Day 20 | Error Handling | ๐ Advanced |
| Day 21 | ES Modules | ๐ Advanced |
| Day 22 | LocalStorage & SessionStorage | ๐ Advanced |
| Day 23 | Regular Expressions | ๐ Advanced |
| Day 24 | Closures | ๐ด Expert |
| Day 25 | Higher-Order Functions | ๐ด Expert |
| Day 26 | Iterators & Generators | ๐ด Expert |
| Day 27 | Map & Set | ๐ด Expert |
| Day 28 | WeakMap & WeakSet | ๐ด Expert |
| Day 29 | Design Patterns | ๐ด Expert |
| Day 30 | Final Project โ Full App | ๐ด Expert |
- ๐ก Beginner-friendly explanations
- ๐ง Deep understanding of core concepts
- ๐งช Hands-on exercises every day
- ๐งพ Fully commented code
- ๐ Real-world final project
git clone https://github.com/30daysofjavascript/30-Days-of-JavaScript.git
cd 30-Days-of-JavaScript- Open the folder
- Read
README.md - Study
index.js
This guide covers all major ways to run JavaScript, from beginner-friendly methods to advanced environments.
-
Open Google Chrome
-
Open any website or a blank tab
-
Press:
Ctrl + Shift + I(Windows/Linux)Cmd + Option + I(Mac)
-
Go to the Console tab
-
Type:
console.log("Hello from Chrome Console!");- Press Enter
๐ฏ Output: Instant result in the console.
- Open Notepad / VS Code
- Create
index.html
<!DOCTYPE html>
<html>
<head>
<title>Run JS</title>
</head>
<body>
<h1>JavaScript Test</h1>
<script>
alert("Hello from JavaScript!");
console.log("Check console");
</script>
</body>
</html>- Save the file
- Open it in Chrome
๐ฏ Output:
- Popup alert
- Console message
index.html
<!DOCTYPE html>
<html>
<head>
<title>External JS</title>
</head>
<body>
<script src="script.js"></script>
</body>
</html>script.js
console.log("Running from external JS file!");Open index.html in Chrome.
- Open DevTools (
F12) - Go to Sources โ Snippets
- Create a new snippet
- Write:
console.log("Snippet executed");- Press
Ctrl + Enter
Download and install Node.js
// app.js
console.log("Hello from Node.js");node app.jsnodeThen:
console.log("Hello REPL");npm init -yEdit package.json:
"scripts": {
"start": "node app.js"
}Run:
npm start// app.js
console.log("Hello from Deno");deno run app.js- CodePen
- JSFiddle
- Replit
- StackBlitz
console.log("Hello online!");Click Run.
-
Chrome mobile console (limited)
-
Apps:
- Dcoder
- JSAnywhere
<script type="module">
console.log("Using modules");
</script>npm create vite@latest
cd project
npm install
npm run devconst worker = new Worker("worker.js");const express = require("express");
const app = express();
app.get("/", (req, res) => {
res.send("Hello Server");
});
app.listen(3000);Run:
node server.js- AWS Lambda
- Google Cloud Functions
- Azure Functions
npx jest- Phaser.js
- Babylon.js
db.users.find()- V8 Engine
- SpiderMonkey
| Method | Difficulty | Use Case |
|---|---|---|
| Chrome Console | Easy | Quick testing |
| HTML File | Easy | Beginners |
| Node.js | Medium | Backend |
| Deno | Medium | Modern runtime |
| Online Tools | Easy | Practice |
| Cloud | Advanced | Production |
- Chrome Console
- HTML file
- Node.js
- Build tools
๐ก Tip: Start simple, then move to advanced tools as you grow.
- ๐งโ๐ป VS Code (recommended)
- ๐ Browser (Chrome, Firefox, Edge)
- โ๏ธ Node.js (optional)
- โค๏ธ Consistency
- Install Live Server
- Right-click
index.htmlโ Open with Live Server
โ Understand JavaScript deeply
โ Write modern ES6+ code
โ Work with APIs
โ Build real-world projects
โ Think like a developer
If this helps you:
๐ Star โญ the repo
๐ Share with others
๐ Contribute
Built with โค๏ธ for the developer community.
Feel free to star โญ this repo if it helps you!