TalentJR

🟨 Free · Class 9 (9th Std) · no sign-in needed

JavaScript Tutorial Part 2 – Class 9 (9th Std)

Write JavaScript like real web developers: classes, powerful array methods, promises and async/await, fetching live data from a server, handling errors, modules and tests — ending with your own weather dashboard. Edit, press ▶ Run, free.

  • 📚 18 lessons
  • 🧩 54 challenges
  • ✨ 18 interactive
  • ▶ real JavaScript in the browser
Start Lesson 1 — free →
const API = "https://api.talentjr.in/api/v1/practice";
const res = await fetch(`${API}/weather?city=Pune`);
const w = await res.json();
console.log(`${w.city}: ${w.temp_c}°C, ${w.condition}`);
for (const d of w.forecast) {
  console.log(`${d.day}  ↑${d.high}°  ↓${d.low}°`);
}
Output
Pune: 24°C, Sunny
Mon  ↑29°  ↓17°
Tue  ↑30°  ↓18°
Wed  ↑28°  ↓17°

🗺️ Your learning map

Part 2 of the free JavaScript tutorial, for Class 9 (9th Std), ages 14–15. “JavaScript Advanced - Web Mastery” picks up where the Class 8 JavaScript basics end, with 18 short lessons and code examples for building larger web programs. Every lesson has Easy, Medium and Hard practice challenges. Read the lessons without signing in.

Part 1 · Objects, async and APIs

  1. 1Lesson 1: Objects & Classes – Build Your Own Blueprints in JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 35 minStart →
  2. 2Lesson 2: Arrays & Methods – find, some, every, reduce, sort and Chaining in JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  3. 3Lesson 3: Async & Promises – How JavaScript Waits Without Freezing✨ Interactive: animation · ▶ Run · quiz · challenge · 40 min→
  4. 4Lesson 4: API Calls – Get Data from a Server with fetch() in JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 40 min→
  5. 5Lesson 5: Error Handling – try, catch, throw and finally in JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  6. 6Lesson 6: Full Projects – Plan and Build Complete JavaScript Apps✨ Interactive: animation · ▶ Run · quiz · challenge · 45 min→

Part 2 · Modern JavaScript

  1. 7Lesson 7: Destructuring & Spread – Unpack and Copy Data in JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  2. 8Lesson 8: Higher-Order Functions – Pass and Return Functions in JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  3. 9Lesson 9: JSON & Data Formats – Parse and Build Data in JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  4. 10Lesson 10: Closures – How JavaScript Functions Remember Variables✨ Interactive: animation · ▶ Run · quiz · challenge · 40 min→
  5. 11Lesson 11: ES6 Modules – Split JavaScript into Files with import and export✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  6. 12Lesson 12: Working with Dates – The Date Object in JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 40 min→

Part 3 · Building real apps

  1. 13Lesson 13: Async/Await Deep Dive – Write Clean Asynchronous JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  2. 14Lesson 14: Building an API Client – Talk to a REST API with JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  3. 15Lesson 15: State Management Basics – Keep Your JavaScript App in Sync✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  4. 16Lesson 16: Event-Driven Architecture – Build JavaScript Apps Around Events✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  5. 17Lesson 17: Testing Your Code – Write Tiny Tests in JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 30 min→
  6. 18Lesson 18: Capstone: Weather Dashboard – A Full JavaScript App with an API✨ Interactive: animation · ▶ Run · quiz · challenge · 45 min→

🛠️ What you will build

Finished the course? Get your certificate

Take the final test: 15 questions from the whole course. Get 12 right and you earn a TalentJR course certificate with your name.

Take the final test →

Questions parents and students ask

Is this JavaScript course free?

Yes. All 18 lessons, the ▶ Run boxes, the quizzes and the challenges are free, and you can read them without signing in.

Do I need to finish Class 8 JavaScript first?

It helps a lot. This course expects that you know variables, functions, if/else, loops, arrays, objects and simple DOM code from the Class 8 course. If you are new, start with Class 8 Lesson 1.

Where does the data in the fetch lessons come from?

From the TalentJR practice API: a small server with made-up, fixed data (weather for a few cities, students, to-dos, quotes). It always answers the same way, so you can check your output — and you can use it in your own projects too.

What is async/await in JavaScript, in simple words?

Some jobs take time, like asking a server for data. async/await lets your code wait for the answer without freezing the page, and still read from top to bottom like normal code. Lessons 3, 4 and 13 explain it step by step.

What can I build after Class 9 JavaScript?

Web apps that load real data: a dashboard, a quiz that loads questions from a server, a small game with saved high scores. It is also a strong base for learning React or Node.js later.