JavaScript most popular client sided scripting language. JS is a light-weight object-oriented programming language which is use by several website for scripting the webpage.

Home Page - Basic Engineer
Home Page – Basic Engineer

The file extension of Java Script is .JS. It is not secure because we can view source code after right clicking on web page.

  • It is the most popular client sided scripting language which was develop by Netscape in 1995.
  • It is main objective is to create dynamic webpages in this case we can perform operations at this case, we can perform operations at client side area.
  • It is another job is to validate data in well manner on client side area before transforming on server.
  • It is case sensitive.
  • it is object based scripting language.
  • It is an interpreter based scripting language.
  • It can be execute with the help of web browser.
  • It is portable because all web browser support java script.
  • The file extension of Java Script is .JS.
  • It support exception handling.
  • It is does not support database.
  • It is not secure because we can view source code after right clicking on web page.

Syntax of JS

<script>
source code of javascript
</script>

How to write program of JAVA Script

  • <Script> tag
  • it is used to write source code of JAVA Script.
  • It can be written within <head> or <body> tag

To Identify and Access the DOM Elements

  • First, Accessing elements By ID
  • Second, Accessing elements By TagName
  • Third, Accessing elements By className.

DOM Tree Structure

DOM tree
DOM Tree

JAVA SCRIPT Event

  • Click (onclick)
  • Double Click (ondbclick)
  • Right Click (oncontextmenu)
  • Mouse Hover (onmousenter)
  • Mouse Out (onmouseout)
  • Mouse Down (onmousedown)
  • Mouse Up (onmouseup)
  • Key press (onkeypress)
  • Key Up (onkeyup)
  • Load (onload)
  • Unload (onunload)
  • Resize (onresize)
  • Scroll (onscroll).

If you have any queries regarding this article or if I have missed something on this topic, please feel free to add in the comment down below for the audience. See you guys in another article.

To know more about HTML order list please check Wikipedia link CLick here .


Basic Engineer

Hey Readers! We have more than fifteen years of experience in Software Development, IoT, Telecom, Banking, Finance and Embedded domain. Currently we are actively working on Data Science, ML and AI with multiple market leaders worldwide. Happy Reading. Cheers!

0 Comments

Leave a Reply

Avatar placeholder

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