JavaScript Tutorial For Beginners #15 - Logical Operators

preview_player
Показать описание
In this JavaScript tutorial for beginners, I'll show you the two logical operators we can use with our control flow statements (such as if statements and loops). The two operators are the AND operator ( && ) and the OR operator ( || ) .

The AND logical operator can be used when you need two or more conditions to be met, and the OR logical operator can be used when you only need ONE of two or more conditions to be met.

As always, any questions, fire ahead :).

========== JavaScript for Beginners Playlist ==========

========== CSS for Beginners Playlist ==========

========== HTML for Beginners Playlist ==========

========== The Net Ninja ============

========== Social Links ==========

Рекомендации по теме
Комментарии
Автор

Spent almost 30 minutes trying to understand this. Why, oh why, did I not find this earlier? Lost valuable 40 minutes and found a 6-minute video to solve the puzzle. Thank you! New sub.

omenaabenabe
Автор

I don't have words to express my gratitute. I'm learning a lot with you.

elanosilveira
Автор

Thank you for all the lessons (css, javascript..., they are great, exact , extremely practical and useful! JavaScript is a difficult topic but your explanation makes it a breeze !!!

Dragancho
Автор

I just finished the HTML and CSS tutorial for beginners by NET NINJA!! now doing the Javascript tutorial!! WOW, I am almost a Frontend developer and have been coding so very well already!! Thank you! All the way from South Africa!!

aqeemjones
Автор

"And that is logical operators in a nutshell guys" Hahah! new sub. Thank you The Net Ninja! I needed this for school.

zers_
Автор

Good video for a tricky set of operators, Clear and to the point.

AP-cgyc
Автор

You are my inspiration man! You make me feel programming is much simpler!

armandogallushi
Автор

Dear you are such a nice teacher that makes things so easy to understand. Can I request one thing please. do you have the source code of your code so that it will be easy to write the parts instead of pausing and writing the code from you video.

teklenegash
Автор

this is helping me understand so much. Thanks for this video series its clear, quick and to the point and exactly what I need to know

GratitudeSyndicate
Автор

As a 37 yr old guy learning to code I just found out I cannot come to the party ... debating whether I should go on learning from this channel now or am I too old a foggie ?!

kcsnipes
Автор

I have a question, in previous lessons you said that the "equal or greater to" and "equal or less than" were written like this: ">=" and "<=" respectively, but here you wrote them with the "=" sign first and then the comparison sign. Is this correct, I mean are both ways of writing them interchangeable, or is this a typo? Thank you!

manifestdigitalagency
Автор

These lessons are brilliant. Though I think I may end up greeting people with "yo what's going on guys" as a result of watching them 🤣

davefisher
Автор

This is a very well explained tutorial. You earned my sub

hullabaloo
Автор

Hi Net Ninja, could you combine two logical operators( like && and | | ) in a condition

chinemeremobiukwu
Автор

Thank you for doing this video! This was explained very well!

MrWardo
Автор

At the beginning there are logical operators listed. !=== does not exist, should be !==

Unless I'm mistaken.

VeryImportantPepe
Автор

thank you very much!!! all your tutorial is very useful and easy to understand! only at the beginning of tutorial my ears always getting crazy with the voice of ninja blade.. because I use earphone so it's always sound so crazy..

zen-mlnm
Автор

Do the logical operators have a different method of evaluation like in python? Because python has something called as the lazy evaluation .(New sub, great content).

amoghrk
Автор

So when the user puts their age in the invite or form and they they are under 18, Is this when the ELSE statement comes into the browser of the user?

raymondmoana
Автор

normally the && operator checks if the left side is false and if not then check the right side and returns the right side? same way the || operator checks left side is True and if not then it goes to right side. Then howcome under the If condition && is checking both the conditions? Am confused?

vvv_