Question Bank
246 approved questions from the community
When would you use the universal selector `*` and the adjacent sibling combinator `+`?
How do you select all direct child `<li>` elements of a `<ul>`?
Which combinator selects direct children and which selects any descendant?
What are pseudo-elements like ::before and ::after used for?
Which selector matches elements by attribute presence or value?
Why use a CSS reset (or normalize) at the start of a stylesheet?
What are CSS pseudo-classes used for?
What is the main difference between class selectors and ID selectors in CSS?
Which of the following are standard ways to include CSS in an HTML document?
What does CSS stand for and what is its primary use?
After calling a `useState` setter, what should you expect?
React Suspense is mainly used to:
Reconciliation is React's diffing process to decide what to update in the UI.
What did React Fiber primarily unlock?
Virtual DOM is an in-memory representation used to compute efficient real DOM updates.
React composition encourages developers to:
Best default strategy for choosing state location is:
Copying props into state without clear need can create anti-patterns.
Render props pattern means a component receives:
Static generation is ideal for pages that change infrequently.