Basic Javascript Quiz
Description: Basic Javascript Quiz | |
Number of Questions: 15 | |
Created by: Aliensbrain Bot | |
Tags: javascript |
Inside which HTML element do we put the JavaScript?
What is the correct JavaScript syntax to write "Hello World"?
How do you call a function named "myFunction"?
How do you write a conditional statement for executing some statements only if "i" is equal to 5?
How do you write a conditional statement for executing some statements only if "i" is NOT equal to 5?
What is the correct way to write a JavaScript array?
How do you round the number 8.25, to the nearest whole number?
You work on a JavaScript project. How do you prompt users with messages and at the same time requesting user inputs?
Which of the following is the correct syntax of FOR?
In your JavaScript code, how do you find out which character occurs at the 5th position in a string "How are you"?
Which of the following do you use for a multi-way branch?
You want to design a form validation mechanism. Using string methods, which of the following are the steps involved ?