I’m working on the treemap in the D3 certification. The treemap itself is done, but now the test for the legend doesnt find the rect elements with the class"item-legend" and also not that they have at least 2 different fill colors.
my codepen is https://codepen.io/tlaschkolnig/pen/qBQGYVN
when I check the website with console, I see the rect elements with the proper class:
any idea why this is not passing?
