Introduction to JavaScript

In this tutorial, we will learn Introduction to JavaScript. JavaScript is a client-side scripting language. JavaScript allows performing a lot of functions on client-side after the web page gets loaded. For example to check the information filled by user in contact form suppose we want to check whether a user filling email in the right format or not. To perform this kind of function JavaScript can really help full.

How to Use JavaScript in Web page:

Now there might be question rising in your mind that how to use this JavaScript in a web page. So answer for this, It’s pretty easy. To use JavaScript you can write JavaScript code in as follow in your web page.

<script>
     alert("Hello! I am an alert box!!");
</script>
Spread the love