Javascript is a code written into an HTML page, it's known as the client-side scripting language. It's used in every computer, laptop, smartphone, and tablet. It's the only language that's recognized in the browser itself. When a user places the website into the address bar, javascript will code it to an HTML and in return sent it to the browser and then the browser will figure out what to do with it.