Why I Dislike Working With Frameworks – Even Though They Make Sense in Some Situations
Frameworks, like jQuery, are some of the most popular, and most widespread assistants used on websites. The framework allows you to access and manipulate HTML elements fast and easily, as well as style them via CSS. Personally, I'm not a fan of these frameworks, and try to avoid them whenever possible. This doesn't always work, but it can be done without any issues quite often.
document.querySelector("ol li").classList.add("new");In the example, the class "new" is assigned to all "<li>" elements that are children of an "<ol>" element. In jQuery, an according invocation is barely shorter - but not less complicated.