Practice ยท 3 of 3
Blocking Audit
Given an array of resources { type, blocking } where type is "css" | "js" | "font" | "img" and blocking is true when it blocks first render, write firstPaintBlockers(resources) returning the COUNT of blockers, and byKind(resources) returning an object mapping type => count (only types present).
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: Waterfall & Blocking โ Practice