JavaScript is one of the most used language in the world.

It is usually used on the front end. Things like NodeJS is used for back end development.

Example

<script type="text/javascript">
..JavaScript code..
</script>

Web page can also load remote JS code with src as such:

<script src="./script.js"></script>

Another example:

document.getElementById("button1").innerHTML = "Changed Text!";

Usage

Most common web apps rely heavily on JavaScript.

Frameworks

Now web apps are becoming more advanced. It is considered inefficient to use pure JavaScript to develop an entire web application from scratch.

This is why a host of JavaScript frameworks have been introduced to improve the experience of web application development.

This platforms uses library which makes it easier to re-create functionalities such as user login and user registration.

Some of the common JavaScript frameworks are:

  • Angular
  • React
  • Vue
  • JQuery