Javascript Tutorial

Facebooktwitterredditpinterestlinkedinmailby feather

This JavaScript tutorial helps beginners and professionals to learn JavaScript easily.

What is JavaScript

JavaScript is a dynamic computer programming language. It is object-based scripting language i.e. lightweight and cross-platform.

We can make our web page more lively and interactive, with the help of JavaScript.

It was created by Brendan Eich at Netscape in 1995.

It is used to create interactive websites. It is mostly used for:

  • Client-side validation.
  • It has Dynamic drop-down menus.
  • It Displaying date and time.
  • Validate user input in HTML form before sending the data to a server.
  • Build forms that respond to user input without accessing a server.
  • Open and close new windows or frames.
  • Displaying popup windows and dialog boxes.(like alert dialog box, confirm dialog box prompt dialog box)
  • Build small but complete client side programs.
  • Displaying clocks etc.
  • Mobile application and game development.

Features of Javascript

  • JavaScript is an object-based scripting language.
  • It is case sensitive language.
  • It is light weighted.
  • Every statement in JavaScript must be terminated with semicolon (;).

Advantages of Javascript

  • JavaScript is an interpreted language. It requires no compilation process so no compiler is required. The browser interprets JavaScript as HTML tags.
  • JavaScript is relatively easy language. Any person can learn it very easily. It is use to develop dynamic and attractive websites.
  • JavaScript is executed on the client-side reduces the demand on the website server.
  • It provides conditional checking, loops and branching facilities that can be executed in a web pages.
  • JavaScript is relatively fast to the end user. They don’t have to wait for a page reload to see if they have forgotten to enter something.
  • Extended functionality to web pages. We can use JavaScript to include such items as drag-and-drop components and sliders to give extended functionality to our site visitors.

JavaScript Example with Online Editor

We have given online editor option with each JavaScript example. So, you can edit any example and see the changed output.

Output:

Prerequisite

To learn JavaScript you must have the knowledge of computer fundamentals only.

Audience

This JavaScript tutorial is written to help beginners and professionals both.

IndexTitle
TutorialJavascript Example
TutorialJavascript comment
TutorialJavascript Variable
TutorialJavascript Data Types
TutorialJavascript Operators
TutorialJavascript If Else
TutorialJavascript Switch Statement
TutorialJavascript loop
TutorialJavaScript Function
TutorialJavascript Object
TutorialJavascript array
TutorialJavascript String
TutorialJavascript Date
TutorialJavascript Math
TutorialJavascript Number
TutorialJavascript Dialog Box
TutorialJavascript Window Object
TutorialJavascript Document Object
TutorialJavascript Event
TutorialJavascript Cookies
TutorialJavascript getElementByID
TutorialJavascript Forms Validation
TutorialJavascript Email Validation
TutorialJavascript Password Validation
TutorialJavascript Re-Password Validation
TutorialJavascript Page Redirect
TutorialJavascript Print
Facebooktwitterredditpinterestlinkedinmailby feather

Leave a Comment