hard20 pts · first answer countscore-web-vitalsinp
Toggling a class on <body>
A dark-mode toggle adds a class to <body>, and the interaction takes 450 ms on a page with 8,000 elements and a large stylesheet. Where is the time most likely spent?
Discussion 0
Join free to post in the discussion.