“Wrap every 3 elements in a parent element using Javascript?
I'm just trying to wrap a div w class of slide around every 3 divs with a class of search-audio. the one error i'm running into is that it's saying elem.parentElement is undefined... So part works great... const audioBlocks =…