#24 The Ternary (Conditional) Operator | JavaScript Full Tutorial

Sdílet
Vložit
  • čas přidán 6. 09. 2024
  • 🙂 SUBSCRIBE - hit the bell 🔔 and choose all: goo.gl/nYLZvz
    The word ternary means composed of three parts, and thats because the Ternary Operator consists of three operands. In this lesson we're going to learn how to write the Ternary Operator and how it works.
    ------------------
    👍 HTML FULL TUTORIAL: shorturl.at/fiCMV
    👍 CSS FULL TUTORIAL: shorturl.at/clGSZ
    ------------------
    FACEBOOK: / devdreamercode
    TWITTER: / devdreamercode
    SUBSCRIBE and hit the BELL NOTIFICATION 🔔: goo.gl/nYLZvz
    ------------------
    Learn with Dev Dreamer! Step by step, easy to understand tutorials :-)

Komentáře • 14

  • @dilip8496
    @dilip8496 Před 3 lety +6

    Hi Dev dreamer I have very big fan of yours. seriously no one teach like you in youtube I learn very much from you

  • @markdarucaaustria1234
    @markdarucaaustria1234 Před 2 lety

    I am currently enrolled in a bootcamp., ur vids are very helpful.

  • @daze4877
    @daze4877 Před 9 měsíci

    You are so amazing. thank you

  • @itsnobledean9450
    @itsnobledean9450 Před rokem +1

    I’ve watched all of the videos up until this point, and I plan to take it all the way to the end. This series has given me confidence in utilizing mostly all of the basics of JavaScript. I’ve been bamboozled by fake teachers, and I just don’t see how this series isn’t hoisted above all the others. Thanks for this. I really needed this.

  • @Frankslaboratory
    @Frankslaboratory Před 3 lety

    well explained, I like your editing style

  • @dilip8496
    @dilip8496 Před 3 lety +2

    Hi Dev dreamer please upload full we development project as you done in a css project plzzz Dev dreamer upload video

  • @rokovuco823
    @rokovuco823 Před 2 měsíci

    If time variable is equal to string '12:00' how does it know that '11:59' is less if it's all string value and we didn't translate it to number value

  • @yousafsabir7
    @yousafsabir7 Před 2 lety +1

    love you bro

  • @ABHISHEKS-pe4pw
    @ABHISHEKS-pe4pw Před 10 měsíci

    my classList is showing type of error when tried doing the exact thing
    what should I do

  • @webb-developer
    @webb-developer Před 8 měsíci

  • @Robin_biju
    @Robin_biju Před 2 lety +1

    //#1
    let message = 1 >10 ? "Condition TRUE": "Condition FALSE";
    console.log(message);
    //Output:-Condition TRUE
    let time = '12:00';
    let timeNow = time < "12:00" ? "Good Morning" : "Good Evening";
    console.log(timeNow);
    //Output:-Good Evening

  • @klaudiabilska5873
    @klaudiabilska5873 Před rokem

    I really need that DOM tutorial :(

  • @Bravin_Joshua
    @Bravin_Joshua Před 2 lety

    Very cool dark mode. Once I know it, I will feel like batman😏

  • @tim6247
    @tim6247 Před 2 lety

    I tried..... time