JavaScript Quiz

Test your knowledge in JavaScript!

1. How to write an IF statement in JavaScript?




2. How does a WHILE loop start?



3. How do you round the number 7.25, to the nearest integer?




4. What is the correct JavaScript syntax for opening a new window called "w2" ?


5. How can you detect the client's browser name?