Difference between JavaScript and jQuery

jQuery is a JavaScript library. So far whatever coding we did was in JavaScript. Same coding can be done in jQuery as well.

So what’s the difference?

  1. jQuery is more easy to learn.
  2. jQuery syntax is short and simple.
  3. Better cross browser compatibility
  4. ready made animation effects like fadeIn, fadeOut, slideUp, slideDown, show, hide

You may also like...