4 ms·
I solved level 4 using is() But I am sure there's a better way with the any of the attribute selectors (https://developer.mozilla.org/en-US/docs/Web/CSS/Attribu
by mrjay42 5y ago
I solved level 4 using is()
But I am sure there's a better way with the any of the attribute selectors (https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_s...).
But I did not find how to do it :'(
- 411111111111111 5y agothats strange, i could just use i think `div[data-item]` and it worked for me
- mrjay42 5y agoOooh that's so nice! Thanks! I was trying to select stuff using span[data-item*="foobar"] Or something of the sort...but it wasn't working, so I just ended up writing a is() selector ^^