LOGBOOK

HELP

Quiz Entry - updated: 2026.07.14

What is the difference between a JavaScript library and a framework?

You call a library's functions, whereas a framework provides the overall structure and calls your code (inversion of control).

Library Framework
You call library functions Framework calls your functions
You control program flow Framework controls program flow
Add features to your code You build within the framework
Example: jQuery, Lodash Example: Vue.js, React, Angular

Frameworks provide a "skeleton" - you fill in the specific parts for your application.

Go deeper:

From Quiz: WEBT / Web Frameworks and Vue.js | Updated: Jul 14, 2026