Hello everybody and welcome to Hacoder. Today, we are going to start a brand new series of tutorials on Javascript. If you don’t know what Javascript is, don’t worry you will learn it soon through our Tutorials which will be initially for Beginners.
Why we are doing Javascript tutorials? Because Javascript is one of the most essential programming language which you need to learn to learn Hacking.
Alright now, lets get started!
What is Javascript?
Javascript is a high-level, lightweight, dynamic, untyped, and and Interpreted programming language. It has been standardized in the ECMAScript language specification. Javascript is 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.
JavaScript was first known as LiveScript, but Netscape changed its name to JavaScript, possibly because of the excitement being generated by Java. JavaScript made its first appearance in Netscape 2.0 in 1995 with the name LiveScript. The general-purpose core of the language has been embedded in Netscape, Internet Explorer, and other web browsers.
But Always Remember:
JAVASCRIPT HAS NOTHING TO DO WITH JAVA. SIMILARITY IN THE NAMES DOES NOT MEAN THAT JAVASCRIPT IS SOMEWHERE RELATED TO JAVA. YOU DO NOT NEED TO KNOW JAVA TO LEARN JAVASCRIPT.
Javascript as a Client-Side Technology:-
Client-side JavaScript is the most common form of Javascript programming language. The script should be included in or referenced by an HTML document for the code to be interpreted by the browser.
It means that a web page need not be a static HTML, but can include programs that interact with the user, control the browser, and dynamically create HTML content. It can be achieved by embedding Javascript code into the webpage.
JavaScript can be used to trap user-initiated events such as button clicks, link navigation, and other actions that the user initiates explicitly or implicitly.
Things you can do with Javascript:-
There are plenty of things you can do with Javascript. Some of them are:
- Make your web pages responsive.
- Detect visitors’ browsers.
- Validate web form data.
- Create cookies.
- Create cool animation effects.
- Create a Drag-and-Drop interface for uploading files.
and plenty more…..
Things you can’t do with Javascript:-
There are some things which you can’t achieve through Javascript. Some of them are:
- You can’t force JavaScript on a browser:- JavaScript runs in the client, that is, the browser. If you use an older browser without support for JavaScript, or if you simply choose to disable JavaScript in your browser, then a JavaScript script can’t work.
- You can’t access server side resources:- Because JavaScript is a client-side language, it’s limited to what can be done in the client, that is, usually in the browser environment. A JavaScript script cannot access server resources such as databases. But hang on, you can definitely access server side resources through some Javascript Frameworks like MEAN Stack. Using MEAN Stack, you can access NOSQL Databases like MongoDB through Javascript. ????
That’s it for now. If you feeling hungry for Javascript, plenty of Javascript tutorials coming up soon at Hacoder.
Any questions, comments or suggestions are welcomed.