i2tutorials

JavaScript – Tutorial

JavaScript – Introduction

Java Script(i2tutorials.com)

 

JavaScript initially called as “Live Script” where it makes the “web pages alive”. In JavaScript the engine (embedded if it’s a browser) reads (“parses”) the script, then it converts (“compiles”) the script to the machine language and then the machine code runs, pretty fast.

It is a high-level, interpreted programming language and can update and change both HTML and CSS and it can even calculate, manipulate and validate data. The programs in this language are called scripts. They can be written right in the HTML and executed automatically as the page loads.It is a “safe” programming language, it does not provide low-level access to memory or CPU, as it was initially created for browsers which do not require it.

JavaScript variables are Numbers, Strings, Objects, Arrays, and Functions. It is one of the three core technologies of the World Wide Web and enables interactive web pages and thus is an essential part of web applications. Many websites use it and all major web browsers have a dedicated JavaScript engine to execute it.

 

JavaScript Designed by Brendan Eich

Javascript is a MUST for students and working professionals to become a great Software Engineer especially when they are working in Web Development Domain.

 

NOTE: JavaScript and Java, the two languages differ greatly in design.

 

JavaScript language is mainly used for enhancing the interaction of a user with the webpage or website. In other words, you can make your webpage or website more lively and interactive, with the help of JavaScript. JavaScript is also being used widely in Mobile application and game development.

 

 

Features of JavaScript:

 

 

Application of JavaScript:

 

 

Example:

 

<html>
<body>
<h2>Welcome to JavaScript</h2>
<script>
document.write("JavaScript was developed by Brendan Eich in 1995");
</script>
</body>
</html>

 

OUTPUT:

 

 

 

Exit mobile version