=== vs ==: Coding lesson for kids

In “=== vs ==”, children learn about 5 === "5" and 5 == "5".

5 === "5": Triple equals checks VALUE and TYPE — a number and a string are never equal, so this is false.

5 == "5": Double equals only checks VALUE, converting types first — this is true, which can quietly hide bugs.

This lesson is part of JavaScript in Coding at Pearls Valley Academy — What makes a webpage actually do something.

Each lesson starts with a short narrated, animated explanation, then hands-on practice. A wrong answer gets a gentle hint, never a penalty, and children earn stars and pearls as they go.