Online Quiz Contest

Quiz on WebDev - Basics

1. Inside which HTML element do we put the JavaScript?

2. Where is the correct place to insert a Javascript file?

3. What is the correct syntax for referring to an external script called "index.js?"

4. How do you write "Hello World" in an alert box?

5. Which operation is used to assign a value to a variable?

6. What does the "typeof" operator return when used with a function in JavaScript?

7. What will be the result of the following JavaScript code?

('b' + 'a' + + 'a' + 'a').toLowerCase()

8. What's so great about XML?

9. How can a datatype be declared to be a constant type in JS?

10. Which HTTP status code indicates that a resource is not found on the server?

11. Javascript is an ________ language?

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

13. What is the value in px for one spacing unit in Tailwind CSS?

14. What does API stand for?

15. Which of the following is not a valid way to declare a variable in JavaScript?

16. Which of the following are not server-side Javascript objects?

17. Which keyword is used to declare a function in JavaScript?

18. Which of the following methods is used to access HTML elements using Javascript?

19. In JavaScript, what is the purpose of the addEventListener method used for?

20. The "function" and " var" are known as:

21. What does HTML stand for?

22. What is the function to stop an interval timer in JavaScript?

23. Which of the following methods can be used to display data in some form using JavaScript?

24. React is a?