HTML Tutorial

Free PJavaScript Tutorial online.

  • JavaScript Array forEach () Method
  • JavaScript Objects
  • JavaScript Function
  • JavaScript Loop While
  • JavaScript Loop For
  • JavaScript Array Sort
  • JavaScript Arrays
  • JavaScript Switch
  • JavaScript If…Else
  • JavaScript Numbers
  • JavaScript String
  • JavaScript Events
  • JavaScript Operators
  • JavaScript Types
  • JavaScript Variables
  • JavaScript Comments
  • JavaScript Syntax
  • JavaScript Output
  • JavaScript Introduction

  • JavaScript (JS) is an object-oriented programming language based on the concept of prototypes.

    It is mainly used for introducing some functionalities in the web pages, the JavaScript code from these pages being run by the browser.

    The language is well known for its use in building websites, but it is also used for access to embedded objects in other applications.

    It was originally developed by Brendan Eich of Netscape Communications Corporation as Mocha, then LiveScript, and eventually called JavaScript.

    The name change from LiveScript to JavaScript was done at about the same time that Netscape incorporated support for Java technology into the Netscape Navigator web browser.

    Microsoft has implemented the JavaScript language as JScript, with a number of changes and extensions to the Netscape implementation.

    On the Windows platform, JScript is one of the executable languages by Windows Script, so it can be used to script applications that support Windows Script, such as Internet Explorer, or even the Windows operating system.

    Used to

    Browsers remember a representation of a web page in the form of an object tree and make these objects available to JavaScript scripts, which can read and manipulate them.

    One of the most common webpage building techniques lately is AJAX, short for "Asynchronous JavaScript and XML".

    This technique involves running HTTP requests in the background, without reloading the entire web page, and updating only certain portions of the page by manipulating the page DOM. The AJAX technique allows the construction of web interfaces with short response time,

    Example JavaScript code:
    Example 1, How to create first JS script! - example:
    <title>My First JavaScript code!!!</title>
    <script type="text/javascript">
    alert("Hello Javascript, this is my first JS code!");

    Online Editor

    news templates


    news templates
    This tool makes it easy to create, adjust, and experiment with custom colors for the web.

    HTML Templates
    news templates
    Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.

    CSS HTML Layout
    news templates
    Find here examples of creative and unique website layouts.

    Free CSS HTML Menu
    news templates
    Find here examples of creative and unique website CSS HTML menu.