Question Bank

246 approved questions from the community

All browser events bubble up from the target element to the root of the document.

EASY
TRUE FALSE
25s
Javascript
by Mohamed

When comparing ES2015 classes to ES5 function constructors, what is the 'super()' call used for?

MEDIUM
MULTIPLE CHOICE
35s
Javascript
by Mohamed

What is a higher-order function?

EASY
MULTIPLE CHOICE
30s
Javascript
by Mohamed

How would you define a closure in JavaScript?

MEDIUM
MULTIPLE CHOICE
45s
Javascript
by Mohamed

Which of the following is a typical use case for anonymous functions in JavaScript?

MEDIUM
MULTIPLE CHOICE
30s
Javascript
by Mohamed

What is the primary difference between `.call()` and `.apply()`?

MEDIUM
MULTIPLE CHOICE
30s
Javascript
by Mohamed

In JavaScript, the expression `typeof null` returns 'object'.

EASY
TRUE FALSE
20s
Javascript
by Mohamed

What is the key difference between `<script async>` and `<script defer>` for external scripts?

MEDIUM
MULTIPLE CHOICE
40s
Javascript
by Mohamed

Which browser storage mechanism is sent to the server with every HTTP request?

EASY
MULTIPLE CHOICE
30s
Javascript
by Mohamed

What determines the value of `this` in a regular function call (non-arrow, non-method)?

MEDIUM
MULTIPLE CHOICE
40s
Javascript
by Mohamed

Event delegation involves attaching an event listener to a parent element instead of individual child elements.

MEDIUM
TRUE FALSE
20s
Javascript
by Mohamed

In the JavaScript event loop, how are microtasks handled relative to macrotasks?

MEDIUM
MULTIPLE CHOICE
45s
Javascript
by Mohamed

What is the primary difference between `==` and `===`?

EASY
MULTIPLE CHOICE
30s
Javascript
by Mohamed

Which statement about `var`, `let`, and `const` is correct regarding their scope?

EASY
MULTIPLE CHOICE
30s
Javascript
by Mohamed

What is hoisting in JavaScript?

EASY
MULTIPLE CHOICE
30s
Javascript
by Mohamed

What is the difference between block, inline, and inline-block elements?

EASY
MULTIPLE CHOICE
25s
CSS
by Mohamed

Which modern techniques can center a block-level element both horizontally and vertically?

MEDIUM
MULTIPLE CHOICE
35s
CSS
by Mohamed

Which `box-sizing` value includes padding and border within the element's specified width?

EASY
MULTIPLE CHOICE
25s
CSS
by Mohamed

What is margin collapsing and how can it be prevented?

MEDIUM
MULTIPLE CHOICE
35s
CSS
by Mohamed

What are the main parts of the CSS box model?

EASY
MULTIPLE CHOICE
25s
CSS
by Mohamed
PreviousPage 10 of 13Next