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

Поділитися
Вставка
  • Опубліковано 15 вер 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 :-)

КОМЕНТАРІ • 14

  • @dilip8496
    @dilip8496 3 роки тому +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

  • @daze4877
    @daze4877 10 місяців тому

    You are so amazing. thank you

  • @markdarucaaustria1234
    @markdarucaaustria1234 2 роки тому

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

  • @itsnobledean9450
    @itsnobledean9450 Рік тому +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 3 роки тому

    well explained, I like your editing style

  • @yousafsabir7
    @yousafsabir7 2 роки тому +1

    love you bro

  • @dilip8496
    @dilip8496 3 роки тому +2

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

  • @rokovuco823
    @rokovuco823 2 місяці тому

    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

  • @ABHISHEKS-pe4pw
    @ABHISHEKS-pe4pw 10 місяців тому

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

  • @klaudiabilska5873
    @klaudiabilska5873 Рік тому

    I really need that DOM tutorial :(

  • @webb-developer
    @webb-developer 8 місяців тому

  • @Bravin_Joshua
    @Bravin_Joshua 2 роки тому

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

  • @tim6247
    @tim6247 2 роки тому

    I tried..... time

  • @Robin_biju
    @Robin_biju 2 роки тому +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