If Statements in Javascript | Tutorial for Beginners

Published: 14 August 2020
on channel: Dave Gray
9,960
288

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

In this video we'll work through several examples of If Statements in Javascript. All in less than 7 minutes!

▶ This video is part of the JavaScript Tutorials for Beginners Playlist found here:    • Javascript Tutorials for Beginners  

✅ Quick Concepts outline:
If Statements in Javascript
(00:00) Intro
(0:11) If Statements are Conditionals
(0:19) Basic Syntax
(0:35) Else clauses
(0:45) Example If Statement #1
(2:15) Else If clauses
(2:30) Consider the Logical Order
(2:55) Checking for Two Conditions at Once
(3:25) Example If Statement #2
(3:55) "Waterfall" Logical Order
(4:45) Nested If Statements
(5:10) Decision Tree Thinking: Rock - Paper - Scissors

📚 Further Reading:
MDN Web Docs - https://developer.mozilla.org/en-US/d...

📺 More Beginner JS Videos:
freeCodeCamp:    • Learn JavaScript - Full Course for Be...  
Traversy Media:    • JavaScript Crash Course For Beginners  
The Net Ninja:    • Modern JavaScript Tutorial #1 - Intro...  

✅ Follow Me:
Twitter:   / yesdavidgray  
Reddit:   / daveoneleven  
Medium:   / davegray_86804  

#Javascript #If #Statements


On this page of the site you can watch the video online If Statements in Javascript | Tutorial for Beginners with a duration of hours minute second in good quality, which was uploaded by the user Dave Gray 14 August 2020, share the link with friends and acquaintances, this video has already been watched 9,960 times on youtube and it was liked by 288 viewers. Enjoy your viewing!