What is JavaScript?
JavaScript is a programming language with which web pages become interactive. It creates applications that are included in HTML-code (for example, questionnaires or registration forms that are filled by the user). With JavaScript you can do such functions as image galleries, changing layouts and a response to the pressing of buttons, also to create games, animated 2D and 3D graphics, full-scale applications with databases and much more. The uniqueness of this programming language is that it is supported by almost all browsers and fully integrated with them.
Do not confuse Java and JavaScript, these are two completely different languages. JavaScript is used for games, server applications, cross-platform desktop applications, cross-platform mobile applications.