Skip to Content


You (Level 0)
0% Complete
Last Badge Earned

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.


I've attached my favorite JavaScript and jQuery book. I would encourage you to read it as well.

Your code will execute in this window.

Let's explore some more tutorials or topics!

Next Tutorial


If you enjoyed this resource, support me by sharing this page with others.

Comment on

Show Comments
  • User

    khanAca18 Dec. 5, 2016, 12:23 a.m.

    I think you should make a tutorial for JQuery.

  • User

    Sophie Cory Nov. 6, 2014, 1:24 p.m.

    Nice tutorial

  • User

    stfrownee021 March 30, 2014, 11:49 a.m.

    I'v always wanted to learn JavaScrypt !!!

  • User

    Kellin Carlile Jan. 18, 2014, 12:59 a.m.

    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.

  • User

    Charles Jones Jan. 7, 2014, 11:54 a.m.

    Easy to read tutorials, thanks!

  • User

    ericWS Dec. 27, 2013, 9:45 p.m.

    Thanks for the introduction to jQuery syntax! I never really understood it well before.