This is the instruction for the first practice of control flow of if/else statements: Create a variable named isSoccerFan and set it equal to a boolean, based on your preference.
So i put this: let isSoccerFan = true;
It is correct right? Because it doesn’t take it as right, then my whole code is this:
let isSoccerFan = true;
if (isSoccerFan) {
console.log('Goal!');
} else {
console.log('No goal!');
}
Although it runs, i get an X next to the instructions…