'else' is a syntax error?


Whenever 'else' comes up in an assignment, the terminal tells me that 'else' is an unexpected token. This is my code:
if (10 >= 10) {
console.log("You got a true!")
console.log("You got a false!")


Hi ,shouldn't use semi-colon in if-else condition.


Oh. Thanks! Haha.
That helped.


else {
console.log("Error Error Error!")
dont' see where the error is here.