To target DOM on page; in jQuery we’re using $(“element”) .
To find any elements within any section on page; in jQuery we’re using $(“.parentElement”).find(“.childElement”) .
Benefits of dropping-out jQuery
- It will make your page load faster and save few KBs (specially on slow networks on devices).
- It will improve UI performance and responsiveness on devices.
Though, I am quite positive to use jQuery but it is always worth to know what we require in project and select libraries accordingly.
Do let me know what you think about this article in the comment box below.