Interview practice question
A page with thousands of elements renders slowly
Frontend Engineering · HTML and CSS · Experienced
A dashboard page with thousands of DOM nodes is slow to render and scroll. How would you improve it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Measure (performance panel, DOM size).
- Virtualise long lists.
- content-visibility for offscreen sections.
- Simplify DOM/CSS selectors.
- Avoid layout thrashing.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.