by abhisuri97 · 5y ago · 0 comments
As for why I'm not using the native DOM api's...I could, but haven't gotten around to learning that syntax since I'm very used to jquery (being specific, if I want to do things that are more complicated than selecting an element + changing its properties, the native API is more complicated). jquery is just a nice default.
It's not el.parentNode.insertBefore(new, el) and el.parentNode.removeChild(el) days anymore.