πšƒπšžπšπš˜πš›πš’πšŠπš•πšœ π™΄πš‘πšŽπš›πšŒπš’πšœπšŽπšœ π™ΆπšŽπš π™²πšŽπš›πšπš’πšπš’πšŽπš πš‚πšŽπš›πšŸπš’πšŒπšŽπšœ πš‚πš’πšπš— πš„πš™ π™»πš˜πš πš’πš—


W3Schools JavaScript Quiz


1. What is JavaScript?


JavaScript is a programming language that allows you to implement complex features on web pages.
JavaScript is a markup language used to structure content on the web.
JavaScript is a database management system.
JavaScript is a web browser.

2. Which keyword is used to declare a variable in JavaScript?


var
int
string
boolean

3. Which of the following is used to display a message in the browser console?


console.log()
alert()
prompt()
document.write()