Jump to content

Noiserv

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Noiserv

  • Rank
    Newbie
  1. Hey guys! I'm struggling to get the correct code on this following example: var weather = "sunny" ; var IamHappy = true; I'm trying to create a code with the if statement that will evaluate the condition if the weather is sunny and I'm feeling happy. If so, it should print on the code block " Lets run". what I have tried is this : if ( weather & IamHappy == "sunny" ) { console.log("Lets run"); } I'm still learning the basics of coding, but any help would much appreciated.
×
×
  • Create New...