Should i learn Jquery or Vanilla Js?

Should i learn Jquery? and where the best to learn ? I see jquery’s document short and quite not sufficiently

You should have the skill to read and understand jQuery code,
because many people have written in jQuery.

Vanilla JavaScript can do all things jQuery can do.
jQuery will save you some time for typing code.

So this is a tradeoff: more libraries and tools increase the opportunity to break things and increase complexity, but will decrease the actual coding time.

1 Like

Learn vanilla purely, master it then learn jquery… You only really vanilla but learning jquery is handy, you might use it one day.

Think of Jquery as like a set of training wheels for a kid’s bike. By all means use it, but once you get the hang of what it does, learn the native JavaScript methods.