Exercise about IF condition

Hi, I’m new here and I am learning Javascript.

The exercise is the following:

"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!”.

Here is my code:

var weather = 'rainy';
var isHappy = true;
if (weather === 'rainy') if (isHappy = true){ console.log("I am singing in the rain, just singing in the rain!") };

But it gives me back:

Code is incorrect
You should check weather and isHappy in your condition

What am I doing wrong?

I see two issues. First, this is the assignment operator instead of the comparison operator. Second, from that error message you may need to use the logical and operator.