DEV Community

[Comment from a deleted post]
Collapse
 
justynclark profile image
Justyn Clark • Edited

Oh there's a jQuery method for that lol. (crutch)

But why create several execution calls to the memory stack using el.hide() el.show() when with vanilla you can just simply say el.style.display = 'none'

And while debugging have to step through extra stuff in the library to get to my written code.