TalentJR

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

JavaScript Tutorial for Beginners – Class 8 (8th Std)

JavaScript is the language of every web page. Change text and colours, react to clicks, build a to-do app and a quiz app — watch each step run, edit the code, press ▶ Run. Real JavaScript on this page, free.

  • 📚 18 lessons
  • 🧩 54 challenges
  • ✨ 18 interactive
  • ▶ real JavaScript in the browser
Start Lesson 1 — free →
const runs = [4, 6, 0, 6, 1];
let total = 0;
for (const r of runs) {
  if (r === 6) console.log("SIX! 🏏");
  total += r;
}
console.log(`Total: ${total} runs`);
Output
SIX! 🏏
SIX! 🏏
Total: 17 runs

🗺️ Your learning map

A JavaScript tutorial for beginners in Class 8 (8th Std), ages 13–14. “JavaScript Basics - Web Programming” is a free course of 18 short lessons that teach JavaScript basics, the language of web pages, step by step with code examples. Every lesson has Easy, Medium and Hard practice challenges. Read the lessons without signing in.

Part 1 · First steps and web pages

  1. 1Lesson 1: JavaScript Introduction – Your First JavaScript Program✨ Interactive: animation · ▶ Run · quiz · challenge · 25 minStart →
  2. 2Lesson 2: Variables & Types – let, const and Data Types in JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 30 min→
  3. 3Lesson 3: Functions – Write Reusable Code in JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 30 min→
  4. 4Lesson 4: DOM Manipulation – Change a Web Page with JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  5. 5Lesson 5: Events & Interactions – Make Pages React with JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  6. 6Lesson 6: Mini Projects – Build Small Interactive Apps with JavaScript✨ Interactive: animation · ▶ Run · quiz · challenge · 40 min→

Part 2 · Lists, loops and objects

  1. 7Lesson 7: Arrays in JavaScript – Store and Use Lists of Data✨ Interactive: animation · ▶ Run · quiz · challenge · 30 min→
  2. 8Lesson 8: Array Methods in JavaScript – map, filter and forEach✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  3. 9Lesson 9: Conditional Logic & Loops in JavaScript – if, else, for and while✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  4. 10Lesson 10: Objects Basics in JavaScript – Keep Related Data Together✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  5. 11Lesson 11: Template Literals & Strings in JavaScript – Build Text Easily✨ Interactive: animation · ▶ Run · quiz · challenge · 30 min→
  6. 12Lesson 12: Form Handling in JavaScript – Read, Check and Respond to User Input✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→

Part 3 · Real apps

  1. 13Lesson 13: Local Storage – Make Your Web Page Remember Things✨ Interactive: animation · ▶ Run · quiz · challenge · 30 min→
  2. 14Lesson 14: Timers & Intervals – Run Code Later and Again and Again✨ Interactive: animation · ▶ Run · quiz · challenge · 30 min→
  3. 15Lesson 15: Building a To-Do List App – Arrays + DOM Together✨ Interactive: animation · ▶ Run · quiz · challenge · 40 min→
  4. 16Lesson 16: Simple Animations – Make Things Move with JavaScript and CSS✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  5. 17Lesson 17: Debugging with Console – Find and Fix Bugs Like a Pro✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
  6. 18Lesson 18: Capstone: Build an Interactive Quiz App in JavaScript✨ 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 really free?

Yes. All 18 lessons, the ▶ Run boxes, the quizzes and the challenges are free, and you can read them without signing in. Sign in only if you want to save your progress and points.

Do I need to install anything to learn JavaScript?

No. JavaScript already runs in every web browser, and each lesson has boxes where you edit the code and press ▶ Run. A computer is best for typing, but the lessons also work on a phone.

Is JavaScript hard for a Class 8 student?

No, if you go step by step. Each lesson is short, starts from a real-life example and shows the code running line by line. If you learnt a little Python in Class 5–7, many ideas (variables, if, loops) will feel familiar.

What is the difference between JavaScript and Java?

They are two different languages with similar names. JavaScript runs inside web pages and makes them interactive; Java is used for Android apps and big programs. This course teaches JavaScript.

What can I make after this JavaScript course?

Small web apps of your own: a click game, a to-do list that remembers your tasks, a form checker and a quiz app. In Class 9 (Part 2) you go on to classes, fetching data from servers and a weather dashboard.