Q: If 5 cats catch 5 mice in 5 minutes, how long do 1 cat take to catch 1 mouse?
A: 5 minutes.
Q: console.log(2 + "2") → Output?
A: "22"
Largest heading tag?
<h1>
Which property is used to center text?
text-align
Which is the largest planet in our solar system?
Jupiter
Q: You have 3 apples. You take away 2. How many apples do you have?
A: 2 (because you took 2).
Q: console.log(true + true)
A: 2
Which HTML tag is used to create an ordered list?
<ol>
Which property controls the space inside an element’s border?
padding
Which is the longest river in the world?
Nile River
If 1 = 3, 2 = 3, 3 = 5, 4 = 4, 5 = 4, then 6 = ?
A: 3 (number of letters in "six").
Q: [] == ![] → true or false?
A: true (tricky JS comparison)
Which attribute opens a link in a new tab?
target="_blank"
Which CSS unit is relative to the parent font size?
em
Who wrote the Indian national anthem?
Rabindranath Tagore
If 15% of X = 30, what is X?
200
Output: typeof []
"object"
Which tag is used to create a dropdown list?
<select>
What is the default display value of <span>?
inline
Who is known as the “Missile Man of India”?
Dr. A.P.J. Abdul Kalam
A can solve a problem in 6 hours, B in 3 hours. Together they take?
2 hours
console.log([1,2] == "1,2");
true
Which attribute in <form> specifies where the form data should be sent?
action
What property makes an element positioned relative to its first non-static ancestor?
position: absolute
Which is the smallest state in India by area?
Goa