Tutorials
THE WORLD'S LARGEST WEB DEVELOPER SITE

Exercise:

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 }