If statement in javescript

i have athis problem: 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!”.

i think i have it solved but it gives me unknown error
my code is-

var weather = ‘rainy’;
var isHappy = true;
if ( weather === “rainy” && isHappy); {
console.log(“I am singing in the rain, just singing in the rain!”);}

i don´t understand why i am wrong

please post a link to the challenge
you may also want to copy the error statement and show it to us

(post deleted by author)

also remove the semi-colon here (the if statement doesn’t use semi-colons)

dam i can´t belive that for one smi colen and space i couln´t solve this thank for the help my friend really apreciate it !!

1 Like

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