r/learnjavascript • • Jan 05 '23

Must-know DOM manipulation methods 🔧

Post image
390 Upvotes

29 comments sorted by

View all comments

6

u/Foaric Jan 05 '23

Noob question: Isn't this what jQuery is for? Is it needed if this is all that easy in vanilla JavaScript? Or is it more for using fine-grained selectors?

1

u/manwhowasnthere Jan 05 '23

This was what Jquery was largely for, way back in the day (ie ~10 years ago).

Now most of what made JQ useful is native in the browser, and browsers are far less quirky and unique (like oldass IE versions)