JavaScript

JavaScript is a programming language used above all in building websites. Together with CSS and HTML it forms the foundation of web pages.

JavaScript makes it possible to create interactive elements on the web, such as pop-up windows, animations, questionnaires and audiovisual content. JavaScript is written directly into the HTML code, where it must be enclosed in angle brackets with the word script.

The advantages of using JavaScript include:

  • speed
  • the ability to build more dynamic pages — better data handling
  • adapting websites to specific requirements

It has disadvantages too. There is a potential threat of the code being abused, and the possibility that a user simply turns JavaScript off in their browser. That is why it is important to design a site so that it also works correctly without JavaScript. There is also a programming language called Java, which is entirely different from JavaScript.