Jquery is how we write one form of JavaScript
and have it execute perfectly on all browsers.
This is helpful because browsers don't implement JavaScript the same way.
Some have different rules.
Some don't trust certain features that you make and,
and they make you write different code for different browsers.
Jquery bridges that gap,
meaning you can write JavaScript for all browsers and it will always just work.
You don't have to deal with different browser support whatsoever.
Jquery is also considered a library.
It's not a framework,
meaning you're allowed to mix
your normal JavaScript with it and nothing bad could happen.
And there aren't strict ways to write your JavaScript with jQuery.
Whereas with a framework such as view WAS OR react dot js,
there are certain rules you want to follow and there's a lot of
magic behind the scenes that you don't see.
Which makes learning other frameworks like react a little bit harder.
Starting in about 2019,
reacted JS and vis.js became very popular.
And people now say things like,
Oh, don't bother learning jQuery,
but it's literally used on millions and millions and millions of websites.
So why wouldn't you learn a skill that's so clearly in demand?
And the nice thing is you can learn jQuery in
a single day learning react dot js or view dot js
is going to take a long time because there's such big frameworks, they're powerful too.
But if you just need a little assistance with your JavaScript or you simply
want to write less code than jQuery is 100% for you.
And truth really from a senior developers perspective,
you don't need to learn jQuery or react or view.
You can do it all with vanilla or plain JavaScript,
but these tools help us do more with less code.
Furthermore, and again, this is a truth bomb using react dot js or view dot
js on about 95% of all websites complete overkill.
You'll end up spending too much time writing react for
a small feature that can be written with jQuery in a matter of minutes,
sometimes a matter of seconds.
That's why I choose to write vanilla JavaScript or jQuery on most of my website's.
Unless there's a real need for something big and complex,
then I tend to choose, react or view.
So the reason that you should be learning jQuery is because simply market demand,
hundreds of millions of websites are using it.
You might as well learn what is in demand.