What is JavaScript?

0 votes
Ravi Vishwakarma asked 13 days ago in Web Application by Ravi Vishwakarma

What is javascript and why are use in web application.

1 Answer

1 votes
Ethan Karla answered 12 days ago by Ethan Karla


    JavaScript is an object-based scripting language which is lightweight and cross-platform. JavaScript is not a compiled language, but it is a translated language. The JavaScript Translator (embedded in the browser) is responsible for translating the JavaScript code for the web browser. JavaScript (js) is a light-weight object-oriented programming language which is used by several websites for scripting the webpages. It is an interpreted, full-fledged programming language that enables dynamic interactivity on websites when applied to an HTML document. Users can build modern web applications to interact directly without reloading the page every time. The traditional website uses js to provide several forms of interactivity and simplicity.

Features of JavaScript
     There are many features of JavaScript.
1. It is light-weighted and interpreted language.
2. It is case sensitive language.
3. It provide good control on web browser.
4. JavaScript is support cross platform.
5. JavaScript is object oriented programming language this is use the prototype.
6. JavaScript fallow the syntax and structure of ‘C’ programming language.
7. JavaScript is a weakly typed language.
Application of JavaScript
1. Client side validation
2. Dynamic drop-down menu
3. Display the pop-up window
4. Dynamic changes in inner html
5. Hiding and showing the elements
      //message box
<!DOCTYPE html>

<html lang='en' xmlns='http://www.w3.org/1999/xhtml'>
    <meta charset='utf-8' />
    <title>JS Demo</title>
        alert('this is alert box');
    <p>ALert Demo by using js</p>


What is JavaScript?