Javascript TUTORIAL for beginners

This tutorial by is primarily intended for beginners who understand HTML and basic webpage designs and who want to enhance the "interactive features" of webpage using Javascript. The tutorial can also be used by programmers and experts as reference material.

If you are a mathematical kind of person and want jump coding, skip this introduction and go directly to the next page . Otherwise go ahead and read on.

Pre Requisite

If you are not accustomed to HTML, we suggest that you take a quick beginnners HTML Tutorial . It does not take much time.

Practice programming as you learn

One of the key characteristics of this tutorial is that, it will allow you to make changes in the code online, while you read. To understand what we mean, take a look at the two window panes below. The left side window pane has the javascript code and the right side window pane shows the web page that will be rendered by the code. For now, just change the Hello World inside the quotes ( on left window pane) to something else, like, "learning javascript is fun at" and then, click on the button that says "Edit Text and Click Here". Do not worry about understanding the code for now. We will cover it in the next page onwards.

Like this page on facebook and see how many likes you get.

open URL check this out weitere Anbieter im Vergleich


Javascript is an easy-to-use programming language that can be embedded within your web pages. Assume that you want to create a web page that calculates and displays the Body Mass Index (BMI) for a person of given height and weight. A simple HTML will not be able to do that. Javascript will come handy in such situation. Javascript can enhance the dynamics and interactive features of your page by allowing you to perform calculations, check forms, write interactive games, add special effects, customize graphics selections, create security passwords and more.

What is JavaScript?

* JavaScript adds interactivity to HTML pages
* JavaScript is a lightweight scripting programming language
* A JavaScript is usually embedded directly into HTML pages
* JavaScript is an interpreted language. The scripts execute without preliminary compilation.
* No License is required to use Javascript

Drifference between Java and Javascript

Java and Javascript have almost nothing in common except for the name. Java was developed by Sun Microsystems.Javascript was invented by Brendan Eich at Netscape (with Navigator 2.0), and has appeared in all Netscape and Microsoft browsers since 1996. Java is a powerful and much more complex programming language - in the same category as C and C++. If you are interested in Java tutorial, you may like to check it here .

Java is coded in a similar fashion to C++, with separate header and class files, compiled together prior to execution. It is powerful enough to write major applications and insert them in a web page as a special object called an "applet." Java has been generating a lot of excitment because of its unique ability to run the same program on IBM, Mac, and Unix computers. Java is not considered an easy-to-use language for non-programmers.

Javascript is much simpler to use than Java.
Like this page on facebook and see how many likes you get.

open URL check this out weitere Anbieter im Vergleich


comments powered by Disqus