javascript, taught properly

Learn JS by writing it, not reading about it.

Every lesson on CodeyHub ships with a live code playground right on the page. Read a concept, run it yourself, break it, fix it — then move on. No account needed to start.

30 free lessons 8 dev tools 0₹ signup required ⭐ 100% free
you.js
const developer = {
  name: "you",
  knows: ["html", "css", "js"],
  learning: true,
};

// one concept at a time
codeyhub.teach(developer)|

why codeyhub

Built for people who learn by doing

No video lectures. No PDFs. Just you, a browser, and real JavaScript code that runs instantly.

▶

Playground on every page

No separate tab, no setup. Write and run real JavaScript directly inside the lesson and see the console output instantly.

✓

Quizzes that check understanding

Each lesson ends with a short quiz — not to test memory, but to catch the misunderstandings that silent reading hides.

⚙

Real developer tools

JSON formatter, regex tester, JWT decoder and more — the tools you'll actually reach for once you're writing real code.

featured lessons

Start learning JavaScript today

Hands-on lessons with live code editors. Start from scratch or jump to any topic.

01 beginner

Introduction to JavaScript

What is JavaScript, where does it run, and why learn it?

📖 5 min read 🎯 3 questions
Start lesson →
02 beginner

Variables in JavaScript

let, const, var — and how to choose the right one.

📖 6 min read 🎯 4 questions
Start lesson →
03 beginner

Data Types Explained

Strings, numbers, booleans, null, undefined — and typeof.

📖 5 min read 🎯 4 questions
Start lesson →
View full curriculum →

beyond the lessons

Build. Practice. Get interview-ready.

The full JavaScript roadmap, real projects, common beginner mistakes, and 50 interview questions — all free.

developer tools

Tools you'll use every day

Everything runs in your browser. Nothing is sent to any server.

{ }

JSON Formatter

Format, validate, and minify JSON instantly.

Open tool →
.*

Regex Tester

Test regular expressions with live highlighting.

Open tool →
#

UUID Generator

Generate v4 UUIDs for your projects.

Open tool →
View all tools →

latest articles

Learn JavaScript beyond the basics

Deep dives, tips, and tricks from experienced developers.

Interview Prep

Top 50 JavaScript Interview Questions

Most commonly asked JS questions with answers and explanations.

📅 Dec 15, 2024 ⏱ 12 min read
Best Practices

10 JavaScript Tips Every Beginner Should Know

Practical tips to write cleaner, more efficient JavaScript code.

📅 Dec 10, 2024 ⏱ 8 min read
Async JS

Understanding Promises and Async/Await

A complete guide to handling asynchronous JavaScript.

📅 Dec 5, 2024 ⏱ 10 min read
Read all articles →