if (the condition is true) {
// run the code
} else {
// everything that does not fulfill IF will fall into this ELSE category
}
so your question, the else condition is making the code faulty. Remove it and you’re good to go.
Remember, whatever does not comply to IF will fall into ELSE, else needs no condition to be written. Whereas, else if is another different case which you will soon learn about it along the lessons.