Learn Ternary Operators In 9 Minutes

Web Dev Simplified β€’ August 4, 2020
Video Thumbnail
Web Dev Simplified Logo

Web Dev Simplified

@webdevsimplified

About

Web Dev Simplified is all about teaching web development skills and techniques in an efficient and practical manner. If you are just getting started in web development Web Dev Simplified has all the tools you need to learn the newest and most popular technologies to convert you from a no stack to full stack developer. Web Dev Simplified also deep dives into advanced topics using the latest best practices for you seasoned web developers. I started Web Dev Simplified in order to share my passion for web development, and do what I truly love. Teach and inspire new web developers. I have been in love with full stack web development since 2015 when I did my first internship as a web developer. Ever since then I have pursued my passion, learning everything there is to know about web development. Over the years I have taught many colleagues and friends the joys of web development, and cannot wait to teach you. Thank you for watching!

Video Description

🚨 IMPORTANT: Get DivJoy Now: https://divjoy.com/wds Ternary operators are the source of lots of controversy in coding. Some people love them and others say they are a code smell. In this video I will break down when ternaries are good, when they are bad, and lastly how exactly you write a ternary operator. πŸ“š Materials/References: Ternary Operator Blog Article: https://blog.webdevsimplified.com/2020-05/ternary-operator 🧠 Concepts Covered: - What is a ternary operator - When to use the ternary operator - Why ternary operators are bad 🌎 Find Me Here: My Blog: https://blog.webdevsimplified.com My Courses: https://courses.webdevsimplified.com Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified #TernaryOperator #WDS #JavaScript

Instant Home Upgrade Essentials

AI-recommended products based on this video

Loading...
LaLaGreen Wood Planter Box for Plants (6 Pack, 4x4 Inch) Small Square Wooden Wall Planters for Indoor Plant, Hanging Window Flower Boxes Herb Planter Table Centerpiece Modern Home Garden Office Decor

LaLaGreen Wood Planter Box for Plants (6 Pack, 4x4 Inch) Small Square Wooden Wall Planters for Indoor Plant, Hanging Window Flower Boxes Herb Planter Table Centerpiece Modern Home Garden Office Decor

(80)
$29.99
FREE delivery Sat, Jun 14 on your first order
Loading...
HONYUEYIM 2 PCS Handmade Boho Coasters,100% Cotton Woven Macrame Absorbent Coasters for Drinks,Heat Resistant Office Cotton Coasters for Coffee Table,Desk Kitchen Dining Room Kitchen,Housewarming Gift (Pink)

HONYUEYIM 2 PCS Handmade Boho Coasters,100% Cotton Woven Macrame Absorbent Coasters for Drinks,Heat Resistant Office Cotton Coasters for Coffee Table,Desk Kitchen Dining Room Kitchen,Housewarming Gift (Pink)

(2)
$14.43
FREE delivery Sun, Jul 6 on your first order
Loading...
HONYUEYIM 2 PCS Handmade Boho Coasters,100% Cotton Woven Macrame Absorbent Coasters for Drinks,Heat Resistant Office Cotton Coasters for Coffee Table,Desk Kitchen Dining Room Kitchen,Housewarming Gift (White)

HONYUEYIM 2 PCS Handmade Boho Coasters,100% Cotton Woven Macrame Absorbent Coasters for Drinks,Heat Resistant Office Cotton Coasters for Coffee Table,Desk Kitchen Dining Room Kitchen,Housewarming Gift (White)

(2)
$15.19
FREE delivery Sat, Jun 14 on your first order
Loading...
VASAGLE 71" Kitchen Pantry Cabinet with Lights and Charging Station, Coffee Bar Cabinet with Doors and Drawer, Farmhouse Style, Adjustable Shelves, Rustic White UBBK363W12

VASAGLE 71" Kitchen Pantry Cabinet with Lights and Charging Station, Coffee Bar Cabinet with Doors and Drawer, Farmhouse Style, Adjustable Shelves, Rustic White UBBK363W12

(127)
$278.54
FREE delivery Jun 20 - 30
50+ bought in past month
Loading...
LEGO Botanicals Tiny Plants - Artificial, Fake Indoor Plant Building Set for Home, Kitchen, Desk Decoration, Adults Ages 18+ - Gift for Graduation - 10329

LEGO Botanicals Tiny Plants - Artificial, Fake Indoor Plant Building Set for Home, Kitchen, Desk Decoration, Adults Ages 18+ - Gift for Graduation - 10329

(4,382)
$54.99$47.84
PrimeFREE delivery Sat, Jun 14
600+ bought in past month
Loading...
SmartSweets Minis Sweet Fish, Gluten Free, Plant Based Gummies, Healthy Snacks for Adults & Kids, Fun Chewy Candy, Low Calorie, Low Sugar Snack, No Artificial Sweeteners, Non GMO, 22g Bags, 8 Pack

SmartSweets Minis Sweet Fish, Gluten Free, Plant Based Gummies, Healthy Snacks for Adults & Kids, Fun Chewy Candy, Low Calorie, Low Sugar Snack, No Artificial Sweeteners, Non GMO, 22g Bags, 8 Pack

(0)
$13.50
FREE delivery Sat, Apr 11 on your first order
Loading...
LEGO Botanicals Mini Orchid Building Set - Artificial, Fake Orchid for Home Decor, Adults Ages 18+ - Gift for Graduation- Indoor Plant Decorations for Table, Desk, Office - 10343

LEGO Botanicals Mini Orchid Building Set - Artificial, Fake Orchid for Home Decor, Adults Ages 18+ - Gift for Graduation- Indoor Plant Decorations for Table, Desk, Office - 10343

(1,189)
$32.99$28.70
FREE Delivery on your first order of items shipped by AmazonTemporarily out of stock.
900+ bought in past month
Loading...
LEGO Cherry Blossom Building Toy for Kids, Girls & Boys, Ages 8+ - Artificial Cherry Blossom Decor for Home & Display - Creative Gift Idea for Plant & Flower Lovers - 40725

LEGO Cherry Blossom Building Toy for Kids, Girls & Boys, Ages 8+ - Artificial Cherry Blossom Decor for Home & Display - Creative Gift Idea for Plant & Flower Lovers - 40725

(3,918)
$13.98
FREE delivery Sat, Jun 14 on your first order
1K+ bought in past month
Loading...
2 Pack Outdoor Solar Firework Lights, 240 LED Solar Powered Hanging Lights Outdoor Waterproof Hanging Fairy Garden Lights Landscape Lights(Warm White)

2 Pack Outdoor Solar Firework Lights, 240 LED Solar Powered Hanging Lights Outdoor Waterproof Hanging Fairy Garden Lights Landscape Lights(Warm White)

(41)
$25.99
FREE delivery Sat, Jun 14 on your first order
300+ bought in past month
Loading...
RoboSeal Rechargeable Mason Jar Vacuum Sealer for Mason Jars Wide and Regular, One Touch Vacuum Sealer for Jars, 10 Lids Included, Digital Battery Indicator, As Seen on TV

RoboSeal Rechargeable Mason Jar Vacuum Sealer for Mason Jars Wide and Regular, One Touch Vacuum Sealer for Jars, 10 Lids Included, Digital Battery Indicator, As Seen on TV

(190)
$36.09
Prime
2K+ bought in past month
Loading...
Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

(786)
$69.15$33.51
FREE delivery Jun 13 - 17
Loading...
VASAGLE Side Table with Charging Station, Narrow Nightstand with 2 Drawers, Living Room End Table with Storage, for Small Spaces, Coastal Style, Vintage White and Heather Greige ULET322W73

VASAGLE Side Table with Charging Station, Narrow Nightstand with 2 Drawers, Living Room End Table with Storage, for Small Spaces, Coastal Style, Vintage White and Heather Greige ULET322W73

(106)
$139.99$109.99
FREE delivery Mon, Jun 16
50+ bought in past month
Loading...
Motorcycle Helmet,Adult Handmade Personality Vintage Half Helmet DOT Approved, German Style Half Helmet Motorcycle Cruiser Scooter Cool Helmet for Men and Women

Motorcycle Helmet,Adult Handmade Personality Vintage Half Helmet DOT Approved, German Style Half Helmet Motorcycle Cruiser Scooter Cool Helmet for Men and Women

(380)
$45.99
FREE delivery Wed, Jun 18
Loading...
Watforsh Boho Wooden Dangle Earrings for Women Vintage Brown Earrings circle ground Lightweight dangling with copper hammered style handmade jewelry

Watforsh Boho Wooden Dangle Earrings for Women Vintage Brown Earrings circle ground Lightweight dangling with copper hammered style handmade jewelry

(3)
$18.99
FREE delivery Sun, Jul 6 on your first order
Loading...
AMVR Golf Club Attachment Compatible with Meta/Oculus Quest 3/Quest 3s Accessories, Non-Slip VR Handle Grip for Golf +, 80 Degree Design Keep Tracking

AMVR Golf Club Attachment Compatible with Meta/Oculus Quest 3/Quest 3s Accessories, Non-Slip VR Handle Grip for Golf +, 80 Degree Design Keep Tracking

(743)
$69.99
FREE delivery Tue, Jun 17
100+ bought in past month