What is Javascript ?

JavaScript is a programming language specifically designed to create websites. With the help of JavaScript, we can make changes to HTML and CSS. JavaScript can calculate data, change data and verify data.


What is JavaScript ?


Origin of Javascript

JavaScript was created by Brendan Eich in May 1995. JavaScript was first introduced in the Netscape browser, which was the popular browser of the time. JavaScript was not known as JavaScript from the beginning. JavaScript's original name was mocha. The name was given by Netscape Founder Marc Andreessen.  JavaScript is completely different from Java. In late 1995, it was renamed Live Script. But before the end of this year, it was renamed and changed to JavaScript.

What Can JavaScript Do?

Make Websites

JavaScript was created to create a website normally. The website can be vibrantly help from JavaScript. Compilation of this app can be easily made. This can be made to the website user friendly. Now JavaScript has had a lot of development. JavaScript has become the favorite language of developers.

Make Server Side Application

JavaScript is primarily a client-side language.  But after the arrival of node js, we can create server side application from it.  In this way, now we can use JavaScript at both client side and server side.

Make Games

With the help of JavaScript, we can create games that run smoothly in the browser.  After the introduction of canvas in html5, more complex games can now be made.  Because of which now there are many websites on which we can enjoy online gaming.

Mobile Apps

JavaScript is now so developed that mobile apps can also be made from them.  A lot of frameworks have been made on JavaScript.  With which you can make mobile apps as well as websites.  These are mainly Google's angular and Facebook's react.  React native are introduced separately to create mobile apps.  Whereas the website built in angular framework can be easily converted into a mobile app with the help of third party website.

Easily Make Web Servers

With the introduction of node js, creating server side applications in JavaScript has become much easier.  By using express js with node js, we can easily create a web server in just 10 lines of code.


Difference between HTML, CSS and JavaScript

HTML, CSS and JavaScript are used to create websites.  There is a lot of confusion among those who have just started.  They do not understand how these are used to make a website.

HTML

HTML's full form is Hyper Text Markup Language. It is the standard language for creating web pages of any Website. It have many types of elements. These elements help the web browser to display the content of the web page. HTML is not a programming language. It is only used to organize the content of a web page. 

CSS

CSS means Cascading Style Sheets. With this help, we can better display the layout of the web page. CSS control and organise HTML elements of web page. 

JavaScript

JavaScript can make any element of a web page dynamic. This makes the web page user friendly and the user spends more time on the website.


Features of JavaScript

  • Light Weight Scripting language

  • Interpreted Language
  • Client-side Validation
  • Object Oriented Programming support
  • Control the Browser



Example of JavaScript Code


<!DOCTYPE html>
<html>
<head>
<title>JavaScript Example - CodexRadar</title>
</head>
<body>

<h2>JavaScript Example</h2>

<script>
document.write('Hello World!');
</script>

</body>
</html> code-box


Output

JavaScript Example
Hello World! alert-info


Summary

Now you know what is JavaScript?  We will continuously publish posts on JavaScript and keep you updated. You can subscribe to our blog so that you can get all the information related to new technology and you can keep yourself updated.

Post a Comment

Previous Post Next Post