What is a JavaScript library?

JavaScript libraries are collections of prewritten code snippets that can be used (and reused) to perform common JavaScript functions.
JavaScript library code can be plugged into the rest of your project’s code on an “as needed” basis.
why use a library?

A javascript library can really enhance your web page and website, as you will have access to functionality that you might not know how to code yourself.
Examples of libraries

The two most common JavaScript libraries are;
JQuery
React JS

Personally, I use React JS every day in my current work role (as a mobile app developer) - React JS is an advanced library that lets you split out code into components, quite like objects in OOP (Object Orientated Programming).

Like everything in web development though, you need to know the basics and fundamentals to HTML, CSS and JavaScript before you go jumping into a library as you'd get lost. Remember you can sign up to my full beginners web development course to master these basic skills;

Comments

Popular posts from this blog

⚡️ What is a front-end CSS framework in web development?

How to be a confident, new web developer

Programming Styles