If statement Error

Im doing this exercice “Create an if statement that will evaluate if the weather is rainy and you’re feeling happy. If so, in the code block of the if statement, print the string “I am singing in the rain, just singing in the rain!”.”

This is my code

var weather = "rainy";
var isHappy = true;

if (weather === "rainy" && isHappy)

   {
console.log("I am singing the rain, just singing in the rain!");
   } 

And im getting this error “Make sure you are printing the expected string”

What im doing wrong?

When I compared the string you display to the console to the one you say is required to be printed, they are not the same. You left out a word in the sentence.

I cant belive i was missing a in xD

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.