Abdullah Rashid
abdullah@example.com
Navigation
🏠 Dashboard 📚 Courses 📈 My Progress 🏆 Leaderboard AI Tools
👤 Profile 🚪 Log Out
JavaScript Basic
15:00
Quit
0 / 20 answered
0%
JavaScript Basic
10 questions · Medium difficulty · 00:20:00 min
🔥 In Progress
Question 1
What is JavaScript?
Question 2
How do you write "Hello World" in an alert box?
Question 3
Which symbol is used for single-line comments in JavaScript?
Question 4
What does the "typeof" operator do?
Question 5
How do you declare a variable in JavaScript?
Question 6
Which method converts a JSON string into a JavaScript object?
Question 7
What does "===" mean in JavaScript?
Question 8
How do you create a function in JavaScript?
Question 9
What is the correct way to write an array in JavaScript?
Question 10
Which event occurs when a user clicks on an HTML element?
Question 11
How do you get the length of an array?
Question 12
What does "NaN" stand for?
Question 13
Which built-in method adds an element to the end of an array?
Question 14
What is the output of "5" + 3 in JavaScript?
Question 15
How do you stop a form from submitting?
Question 16
What does "DOM" stand for?
Question 17
How do you select an element by its ID in JavaScript?
Question 18
What is the purpose of "console.log()"?
Question 19
Which keyword is used to declare a constant variable?
Question 20
What is a closure in JavaScript?
✅ Answered: 0
⬜ Unanswered: 8
📊 20% done