Add an else statement to display "You're not John!".

if (condition) {     block of code to be executed if the condition is true } else {     block of code to be executed if the condition is false }

Edit This Code:
Result:
Correct Code:
Correct Result:
Exercise - © w3schools.com