Friday, 8 January 2021

Introduction of Java Script

 : Introduction of JavaScript:

What is JavaScript:

JavaScript is the Programming Language for the Web.

JavaScript can update and change both HTML and CSS.

JavaScript is the world's most popular programming language.

JavaScript is easy to learn.

JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementations allow client-side script to interact with the user and make dynamic pages. It is an interpreted programming language with object-oriented capabilities.

________________________________________________________

ADVANTAGES OF JAVA SCRIPT:

Less server interaction - You can validate user input before sending the page off to the server. This saves server traffic, which means less load on your server.

Immediate feedback to the visitors - They don't have to wait for a page reload to see if they have forgotten to enter something.

Increased interactivity - You can create interfaces that react when the user hovers over them with a mouse or activates them via the keyboard.

Richer interfaces - You can use JavaScript to include such items as drag-and-drop components and sliders to give a Rich Interface to your site visitors.

Easy to Use :  Java Script Provide User Friendly Environment

_________________________________________________________

DISADVANTAGES OF JAVA SCRIPT:

Client-side JavaScript does not allow the reading or writing of files. This has been kept for security reason.

JavaScript cannot be used for networking applications because there is no such support available.

JavaScript doesn't have any multi-threading or multiprocessor capabilities.

___________________________________________________________

Steps to create First Program in Java Script:

Step 1: Open Any Editor Like (Notepad, Notepad ++, Sub Lime ....)

Step 2: Write Below Code inside Your Page

<script>

    document.write("welcome to JavaScript");

</script>

_______________________________________________________________

Save this File as a 1.html


Open Your Browser and RUN it: (Output Below)






1 comment: