Comparison Operators | Javascript Basics | #18

Veröffentlicht am: 01 September 2025
auf dem Kanal: Elite Tech Club
70
0

Ever wondered how JavaScript decides whether two values are equal, not equal, greater, or smaller? 🤔
That’s where comparison operators come in! In this video, we’ll break down everything you need to know about JavaScript’s comparison operators in the most beginner-friendly way possible.

We’ll go step by step through operators like:

✅ The equality operator (==)
✅ The strict equality operator (===)
✅ The inequality operator (!=)
✅ The strict inequality operator (!==)
✅ The greater than and less than operators
✅ The greater than or equal to and less than or equal to operators

By the end of this lesson, you’ll understand how JavaScript makes decisions based on comparisons. These operators are the building blocks for writing conditions (like if statements), creating logic, and making your programs “think” on their own.

We’ll also cover some common beginner mistakes, such as:
⚡ The difference between == and ===
⚡ Why "2" == 2 returns true but "2" === 2 returns false
⚡ The “equal sign on the right side” trick

To keep things practical, we’ll write live code examples in Visual Studio Code and test them directly in the browser console so you can follow along and practice.

👉 If you’re following this JavaScript course step by step, this video connects directly to what you’ve already learned about arithmetic and assignment operators, and it sets the stage for the next big topic: conditions and decision-making in JavaScript.

🎯 Who is this video for?

Complete beginners learning JavaScript

Anyone who wants to refresh their JS fundamentals

Future web developers preparing for conditions, loops, and advanced logic

🔥 Timestamps:
00:00 Introduction
00:41 Why comparison operators matter
01:11 Equal ( == )
01:39 Strict Equal ( === )
02:04 Not Equal and Strict Not Equal (!= and !==)
02:29 Greater Than / Less Than
02:51 Greater Than or Equal / Less Than or Equal
03:21 Let's code: Comparison Operators
08:56 Wrap up

💡 Keep Learning JavaScript:
📺 Previous video: LogicalOperators in JavaScript :    • Logical Operators | Javascript Basics | #17  
📺 Next video: Conditions in JavaScript (coming soon!)

⭐ Support Elite Tech Club
If you’re enjoying this course, don’t forget to like, subscribe, and hit the bell 🔔 so you don’t miss the upcoming videos in this JavaScript series. Your support keeps the tutorials free and helps this channel grow!

📌 Follow me for updates and extras:
Instagram:   / elite.tech.club  

#javascript #programmingforbeginners #comparisonoperators


Auf dieser Seite können Sie das Online-Video Comparison Operators | Javascript Basics | #18 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Elite Tech Club 01 September 2025 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 70 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!