0
What is jQuery and is it needed?
What is jQuery? And can I get full access to DOM totally without it?
3 ответов
+ 4
Yes, jQuery is a library of Javascript.
When you include it in your project, it allows you to use lot of shortcut to make your development easier.
But this is not the only point. Actually the first goal of jQuery wasn't that when it was created.
Few years ago, it was a mess between all web browsers, Javascript was not understood the same way...
And jQuery came has a superHero to create some code understood the same way on every browsers (polyfills) . yeaaah.
BUT, Current web browsers are really better now, and jQuery is not that much use anymore. (expect for designers or some Portfolio).
Ok it seem to be cool, but i really recommend you tu learn JavaScript, the native way first.
When you will learn some Frameworks like React, VuJs ... you'll see that we do not use jQuery in.
So, jQuery is based on Javascript. So of course you can access all the DOM without it.
+ 4
jQuery is a JavaScript library. It'll simplifies your JS programming!
You can get full access with JavaScript. But with jQuery is easier.
+ 1
I use jquery because it's easier to do simple UI/UX features. It's a time management thing for me. But that's the true of any framework. They all havebenifits, and limitations. But if you are in a production environment where you have to crank out applications, it's easier to start with a framework.