Fix the if statement to alert "Hello World" if x is greater than y.
x
y
Click here to try again.
if w3exercise_input_no_0x > yw3exercise_input_no_1 w3exercise_input_no_2 alert("Hello World"); w3exercise_input_no_3
w3exercise_input_no_0
w3exercise_input_no_1
w3exercise_input_no_2
w3exercise_input_no_3
Completed 0 of 67 Exercises:
This will reset the score of ALL 67 exercises.
Are you sure you want to continue?
Share your score:
Take our JavaScript Developer Certificate to prove that you have fundamental knowledge of web development using JavaScript.