JavaScript works on the Client Side (on the user’s computer).

How JavaScript works

The primary purpose of JavaScript is to provide a better experience for the user. It manipulates the objects within the HTML document. The objects and HTML elements collectively form what we call the Document Object Model (DOM). We will get into XHTML and XML later, but for now, we are going to use JavaScript with the HTML document and Cascading Styles Sheets (CSS).

A little bit of history on JavaScript. Netscape Communications Corporation invented JavaScript back in 1995. Many different languages (from C to Python) influenced the syntax and structure of JavaScript. JavaScript is arguably one of the most flexible languages ever created. However, JavaScript is one of those languages that people claim to know, but have absolutely no idea how complex JavaScript can get. We won’t dive super far into JavaScript, but we will build a fundamental base for you.

What exactly does JavaScript do?

It allows programming to be performed without server interaction.

It can respond to events, such as button clicks.

It can validate data before sending out a request.

It can adjust an HTML document for special effects

It can create cookies! Cookies can be used to store and retrieve information from the user’s computer.


If you enjoyed this resource, support me by sharing this page with others.
Share on FacebookShare on Google+Share on StumbleUponDigg thisTweet about this on TwitterShare on Reddit

Leave a Comment

  1. Javascript has a lot of concepts/subtopics to learn. But it’s worth studying. Just make time for it, and you could learn a lot from this. Im lovin’ this tutorial. This is very helpful for a student like me.

Leave a Reply

Your email address will not be published. Required fields are marked *