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

In this video we'll work through examples of Ternary Operators in Javascript. All in less than 6 minutes!

▶ This video is part of the JavaScript Tutorials for Beginners Playlist found here: https://www.youtube.com/playlist?list=PL0Zuz27SZ-6Oi6xNtL_fwCrwpuqylMsgT

Quick Concepts outline:
Ternary Operators in Javascript
(00:00) Intro
(0:13) What is a Ternary Operator?
(0:18) Ternary Operator Statement Syntax
(0:48) Example Ternary Statement
(1:50) Example of Chaining Ternary Operator Statements
(3:05) A Grading Scale Example with Chained Ternary Statements
(4:10) Rock - Paper - Scissors with Ternary Operator Statements

Further Reading:
MDN Web Docs - https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/conditionals

More Beginner JS Videos:
freeCodeCamp: https://youtu.be/PkZNo7MFNFg
Traversy Media: https://youtu.be/hdI2bqOjy3c
The Net Ninja: https://youtu.be/iWOYAxlnaww

Follow Me:
Twitter: https://twitter.com/yesdavidgray
Reddit: https://www.reddit.com/user/DaveOnEleven
Medium: https://medium.com/@davegray_86804

#Ternary #Operator #Javascript