DEV Community

loading...

A brief explanation on the history and how JavaScript Works

thegamefreak720 profile image Ori Alvarez Updated on ・2 min read

JavaScript Logo

JavaScript is one of the core technologies used on the World Wide Web and it powers the vast majority of websites. Every time you see a website display a timer, show an interactive map or content updates JavaScript is working on the background. It works alongside HTML & CSS and it enhances websites adding dynamic content. A quick introduction of HTML & CSS is that HTML describes the website by showing text, images or any kind of info. CSS controls how the website looks by editing color, image sizing, fonts, etc.

HTML, CSS and JS description

History of JavaScript

It was created by Brendan Eich at Netscape Communications Corporation in September 1995. First it was known as Mocha, then as LiveScript and later renamed again as how we know it today, Javascript. In 1996 it was submitted to ECMA (European Computer Manufacturers Association) which became responsible to this day with the development of this language. Officially it was given the name ECMAScript however people still call it JavaScript.

Netscape Logo

What can JavaScript do?

You can do countless of things with JavaScript. You can store and retrieve data, use functions, load external modules, etc. It allows you to build:

  • Web applications
  • Mobile applications
  • Desktop applications
  • Video games
  • And so much more

A good example on what it can do is Wolfenstein 3d on the web. Click here to play
Wolfstein Game

Wolfstein Logo

How does it work?

When the browser loads the website it renders the HTML & CSS first then the JavaScript engine loads the code in the order it was found on the website and executes it. Browsers have a build in interpreter that makes sure that the code is executed as promptly as possible.

Interested in learning further?

CodeAcademy offers a great beginner course on JavaScript and you can start learning today here: CodeAcademy.
Hope this small article help spark an interest on this amazing technology that has revolutionized the web.

Discussion (4)

pic
Editor guide
Collapse
thegamefreak720 profile image
Ori Alvarez Author

Wolfenstein is pretty good but I prefer Doom 😂

thegamefreak720 profile image
Ori Alvarez Author

PC master race lol