Is there a way that I can have 2 answers for an answer,one with capital letters.

Home 2020 Forums 21 Lockdown Challenge Forum Is there a way that I can have 2 answers for an answer,one with capital letters.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1378 Reply
    Rikhil Rosenpershad
    Guest

    If(answer1 == “Madiba/madiba”)

    #1379 Reply
    Bilal Kathrada
    Keymaster

    Good question! You can use the “or” operator:

    if(answer1 == “Madiba” || answer1 == “madiba”)

    In fact, using this you can add any number of options 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Is there a way that I can have 2 answers for an answer,one with capital letters.
Your information: