Question Bank

246 approved questions from the community

When would you use the universal selector `*` and the adjacent sibling combinator `+`?

MEDIUM
MULTIPLE CHOICE
30s
CSS
by Mohamed

How do you select all direct child `<li>` elements of a `<ul>`?

EASY
MULTIPLE CHOICE
20s
CSS
by Mohamed

Which combinator selects direct children and which selects any descendant?

MEDIUM
MULTIPLE CHOICE
30s
CSS
by Mohamed

What are pseudo-elements like ::before and ::after used for?

MEDIUM
MULTIPLE CHOICE
30s
CSS
by Mohamed

Which selector matches elements by attribute presence or value?

EASY
MULTIPLE CHOICE
25s
CSS
by Mohamed

Why use a CSS reset (or normalize) at the start of a stylesheet?

MEDIUM
MULTIPLE CHOICE
35s
CSS
by Mohamed

What are CSS pseudo-classes used for?

MEDIUM
MULTIPLE CHOICE
30s
CSS
by Mohamed

What is the main difference between class selectors and ID selectors in CSS?

EASY
MULTIPLE CHOICE
30s
CSS
by Mohamed

Which of the following are standard ways to include CSS in an HTML document?

EASY
MULTIPLE CHOICE
30s
CSS
by Mohamed

What does CSS stand for and what is its primary use?

EASY
MULTIPLE CHOICE
30s
CSS
by Mohamed

After calling a `useState` setter, what should you expect?

MEDIUM
MULTIPLE CHOICE
35s
React
by Mohamed

React Suspense is mainly used to:

HARD
MULTIPLE CHOICE
40s
React
by Mohamed

Reconciliation is React's diffing process to decide what to update in the UI.

MEDIUM
TRUE FALSE
20s
React
by Mohamed

What did React Fiber primarily unlock?

HARD
MULTIPLE CHOICE
45s
React
by Mohamed

Virtual DOM is an in-memory representation used to compute efficient real DOM updates.

EASY
TRUE FALSE
20s
React
by Mohamed

React composition encourages developers to:

EASY
MULTIPLE CHOICE
30s
React
by Mohamed

Best default strategy for choosing state location is:

HARD
MULTIPLE CHOICE
45s
React
by Mohamed

Copying props into state without clear need can create anti-patterns.

MEDIUM
TRUE FALSE
20s
React
by Mohamed

Render props pattern means a component receives:

MEDIUM
MULTIPLE CHOICE
35s
React
by Mohamed

Static generation is ideal for pages that change infrequently.

EASY
TRUE FALSE
20s
React
by Mohamed
PreviousPage 11 of 13Next