Java Script is based on a Standard ECMA scripting language. And Java Script is a Client-Side Scripting Language that including the following features,
- Allow building dynamic user interfaces
- Dynamic Menus
- Client-Side animation
- Modify client view based on user input
- Ability to check user input before forwarding to the server.
Frontend library which is developed by Facebook. And you can create web as well as mobile applications using React JS.
Completely use for mobile applications which ios and android and other platforms.
04. Angular JS
Another MVC (Model View Control) or rendered framework. This is a completely different framework by Google. But now it’s open-source. This is used to develop dynamic web apps.
05. Electron JS
Electron JS used to build cross-platform desktop applications for your stand-alone systems.
If you don’t know what is stand-alone system is, I can give you a brief explanation for that.
A Stand-Alone System is a system that operates independently or is not connected to an electronic transmission and distribution network.
E.g. MS Paint, Text editor, Music Player…etc.
06. React VR (Virtual Reality)
Using this entire framework, you can create virtual reality applications, virtual reality experience and it’s highly in-demand virtual reality.
07. Tensor Flow.js
This is an open-source machine learning platform/framework. Initially developed by Google for everyone.
The JS library that is Tensor Flow.js can be used for training and deploying machine learning models.
How does Java Script understand HTML Document?
Let’s have a look for HTML Document
<p>P Tag 1</p>
<p class="p2">P Tag 2</p>
Each of the HTML tags arecorrespondently represented as an object in the Document Object Model.
Since this is a hierarchy, you can see that the entire document comprises a hierarchy.
DOM is basically a similar representation of the same HTML Document in a different format.
01) Element Node
02) Attribute Node
03) Text Node
Now I hope to discuss some basic tips and theoretical parts when we are coding, but not much since this is an introduction.
null and undefined data also belongs to the primitive data types, but those data have a special name called Trivial/Other data types.
In C, C++, Java… like programming languages must mention the data type when declaring a variable.
int a = 5; //Strictly typed
var num = 16; //number
var name = "Gayan" //String
var flag = true; //boolean
Those data types relevant to that value you pass to the variable. Automatically the data type will detect and change.
Whether a value you pass, the data type over the variable will be changed depending on the type of value.
var num = 16;
Here you pass numeric value, then the data type of num variable is number.
var num = "Hello";
You execute this, then the num variable data type will be changed into String data type. This is called “Dynamically Typed”.
So another thing, in JS also we can do variable initialization and declaration separately.
var x; //Declaration
So now we come up with the final part of this introduction article,
Rules to create variables
This is actually about assign names to variables.
The first character must be a letter, an underscore ( _ ), or a dollar sign ($).
Subsequent characters may be any letter or digit or an underscore or a dollar sign. And also variables are case sensitive.