Tutorials
THE WORLD'S LARGEST WEB DEVELOPER SITE

Exercise:

1. Write an if statement with the following condition: 10 is greater than 5. 2. If the condition is true, display "I did it!".

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