What is a JavaScript Library?

According to the official jQuery team, it is labeled as a JavaScript library and not a framework. Although it is similar in nature, there is a reason for the custom label.

For starters, most frameworks make working with a specific language easier yes, however, they generally confine you to a certain method for implementing solutions and functions. That is, you can’t branch out and there are not multiple ways to accomplish a task.

With jQuery, on the other hand, you can do whatever you like, and there are usually several ways to accomplish what you want. This is because jQuery is nothing more than a tool.

JavaScript LogoNext, it has everything to do with how jQuery is handled at runtime. Because jQuery has a core focus and only contains essential functions, it is small enough to be bundled with your program or web applications.

Therefore, the jQuery library is being called from your program when it is needed. A framework works the opposite way and is instead called into your program – not out of – when it is needed.

Finally, jQuery is not necessary nor is it a requirement. If you wanted you could develop using JavaScript without ever touching the jQuery library. It would make your job more difficult and it would likely take longer, but it is certainly possible.

Frameworks, on the other hand, may not be entirely necessary but there are some functions and operations you can only do when you have a framework handy. That’s not the case here.


Next, we’re going to explain How jQuery is Different from Other Languages.

Recommended Training – Treehouse

TreehouseAlthough this site recommends various training services, our top recommendation is Treehouse.

Treehouse is an online training service that teaches web design, web development and app development with videos, quizzes and interactive coding exercises.

Treehouse's mission is to bring technology education to those who can't get it, and is committed to helping its students find jobs. If you're looking to turn coding into your career, you should consider Treehouse.

Read our full review of Treehouse…

Disclosure of Material Connection: Some of the links in the post above are “affiliate links.” This means if you click on the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.