What is JavaScript and how to learn JavaScript? Technology Gyan

 What is JavaScript

Today almost all internet users visit many websites for the purpose of entertainment, information or information. But have you ever seen the "Enable JavaScript" option while browsing in web browsers like Chrome, UC Browser, Firefox etc.?


what is javascript

JavaScript is a dynamic computer programming language. It is an Interpreted/Oriented Language. JavaScript is also known as client side/server side script. With the help of which a dynamic web page is created. This web technology standard is the third layer of the cake.

Because it is a scripting language. That's why JavaScript code is coded along with the HTML page. JavaScript provides programming facilities to web designers and it is very useful for a web designer to have knowledge of JavaScript.

When a user sends a request for a webpage to a browser on the Internet, the computer server attaches the HTML code of that page as well as the JavaScript code and sends it to the web browser. After that the browser converts the code in the form of text and shows it to the user if required.

JavaScript can be used not only in any browser but also in the creation of cookies in server programs and web browsers.

Just as the file extension of HTML is .html. Similarly, the file extension of JavaScript is .js. JavaScript is open and cross platform that means it can be used in many operating systems like Windows, Mac etc.

At present, the standards of JavaScript are determined by ECMAScript (also a name of JavaScript). These standards are known as ECMA-262 Specifications.

Where is JavaScript used?

JavaScript is said to be one of the popular programming languages ​​around the world. It is used to create a beautiful webpage with features like automation and animation.

At present, we can find millions of apps on our smartphones. JavaScript has contributed a lot in developing state-of-the-art apps.

Mobile applications can be created without a web context using JavaScript. Since JavaScript works cross platform. So you can use these apps in Android, iOS etc.

JavaScript is also used to build server applications.

Therefore, at present, JavaScript is a rapidly expanding language, which is being used in many fields.

Brief History of JavaScript –

JavaScript was started by a person named "Brendan Eich" as "Netscape Communication".

Today Google is a popular search engine around the world. But at that time "Netscape Navigator" was made by Netscape as the best browser in the world. Which rocked the internet world for many years.

The former name of JavaScript was Mocha Live Script. But later its name was changed to JavaScript by Netscape. Inspired by Java, Scheme Self, this language was created.

This script works in almost all famous web browsers like Google Chrome, Firefox, Safari etc. Now the question comes that how can we enable JavaScript in any browser?

How to Enable Javascript in Browser –

How to Enable Javascript in Chrome Browser

Step #1 – Open the Chrome browser on the computer and click on the Settings button on the top right.

Step: #2 – Scroll down a bit and click on Site settings from Privacy and security

Step: #3 – Now go to Content and click on JavaScript

Step: #4 – After that turn on the Allowed (recommended) button

Step: #5 – JavaScript is enabled in Chrome browser.

How to Enable Javascript in Firefox Browser

Step: #1 – Open Firefox

Step: #2 – Search by typing about:config in the address bar

Step: #3 – Click on Accept the Risk and Continue

Step: #4 – Now type javascript:enabled in the search bar that is open and press enter

Step: #5 – Finally Enable/Disable JavaScript by Pressing the Toggle Button

How to Enable JavaScript in Microsoft Edge Browser

Step #1 – Open Microsoft Edge browser and click on Settings and more… button on the top right side

Step: #2 – Scroll down a bit and click on Settings

Step: #3 – Now click on Site Permissions on the left side

Step: #4 – Click on JavaScript from here

Step: #5 – After that turn on the Allowed (recommended) button

Step: #6 – JavaScript is enabled in Edge browser.

How to Enable JavaScript in Opera Browser

Step: #1 – Open Opera Browser

Step: #2 – Click on the Easy Setup button in the top right corner

Step: #3 – Now in the menu that is open, click on Go to browser settings at the bottom

Step: #4 – Click on Site Settings in Privacy and Security

Step: #5 – Now click on JavaScript in Permissions

Step: #6 – After this enable JavaScript by clicking on Allowed (recommended).

how to learn javascript

1 Join Computer Institute

The first and most popular way to learn JavaScript is to go to a computer institute and learn by taking admission in web designing or web development course.

This method is very effective for those students, around whom there is an institute teaching good computer courses. Because the facility of attending computer classes after school/college is available.

Along with this, you also have free facility of computer and other assistive tools to practice. And the presence of teachers is enough to clear the doubts.

2 Buy books

Books have always proved to be a new learning tool. Therefore, you can also take the help of books to learn JavaScript.

If you do not find these books at the nearest book stall, then you can buy them online. You can use Amazon to buy online.

Take 3 Online Courses

Nowadays the importance of digital education is increasing. And getting education is becoming very accessible and cheap for the students.

All this has been possible due to online study. You can learn any skill from online study portals while sitting at home.

You neither have to go to any teachers nor do you have to go to any computer institute. With just a few clicks, you can start learning for yourself from teachers around the world.

For your convenience, the names of some e-learning portals are being given below. From where you can start learning by taking admission in JavaScript course.

Learn from 4 web-tutorials

Internet is an ocean of information. You search anything. Thousands of results will come in front of you.

You can also read and find JavaScript tutorials in this information ocean. You will get this tutorial for free.

To find them, you can google "learn free javascript tutorials". You will know the result yourself.

5 Learn From YouTube

YouTube is also being liked a lot these days. You can also learn here through videos for free. Because YouTube is a video platform only.

But, to learn, first you have to find such YouTube channels that teach JavaScript. Only then will you be able to start learning. This process is time consuming. If you have that much patience then you can continue learning from YouTube.

Chunky YouTube is a free platform. Therefore, everyone can use it. This is where the branch of YouTube seems to be discounted.

Users do not have any option to verify what you are going to learn from, nor is the quality of these videos checked by YouTube itself.

It is not that all videos on YouTube are useless. There are many great videos also available. But, seek and learn.

difference between java and javascript

Often people think that the difference between Java and JavaScript is the same. But in reality it is nothing like that. So let us know about the difference between these two.

JavaScript is not the same as Java at all. I want to tell you once more that both JavaScript and Java are different.

By the way, the names of these two are very similar, which create a doubt in the mind of the people. Where this language is primarily used as a scripting language in HTML pages, Java is a real programming language that is used entirely in other tasks.

Whereas learning Java can be a bit difficult. It was developed by Sun Microsystem for use in all those things where computing power was needed.

JavaScript was developed by Brendan Eich, who worked at Netscape at the time, developed it as a client side scripting language (although there is no fundamental reason why it should be used in a server side environment). cannot be used).

Originally the name of this language was Live Script, but when it was about to be released, Java had become very popular. That's why Netscape changed its name to "JavaScript" in the last possible moment.

Both Java and JavaScript are descendants of C and C++, but these languages ​​work completely differently from their ancestors. Both languages ​​are object oriented, yes and they also share some similar syntax. But there are more differences than similarities.

Advantages and Disadvantages of JavaScript

Like other computer languages, JavaScript also has some advantages and disadvantages. Where earlier it was limited to doing only a few tasks, nowadays it is used in many tasks.

 Advantages of Javascript

1. Speed. Client-side JavaScript is very fast because it runs immediately in the client-side browser. As long as external resources are needed, JavaScript is completely unhindered from network calls to a backend server.

There is no need for it to be compiled on the client side so that it gets some speed advantages.

2. Simplicity. JavaScript is very simple to learn as well as to implement.

3. Popularity. JavaScript is used throughout the web. Along with this, there are many resources on the internet to learn it as well. StackOverflow and GitHub are two great websites from where you can learn everything about Javascript.

4. Interoperability. JavaScript is easily compatible with other languages, along with it is also used in many applications. Unlike PHP and SSI scripts, JavaScript can be easily inserted into any web page.

JavaScript can also be used within other scripts that have been written in different languages ​​such as Perl and PHP.

5. Server Load. Due to its use in the client-side, its demand in the website server decreases.

6. Rich interfaces. Having drag, or drop components or slider, it provides a rich interface to your website.

7. Versatility. Now JavaScript is also being used in many servers. JavaScript is used in the clients server in the front-end, as well as now a complete JavaScript app can also be created from front to back with the help of JavaScript only.

disadvantages of javascript

1. Client-Side Security. Since this code is executed from the user's computer, so in some cases it can also be exploited for malicious purposes. This is one of the main reasons for which some people prefer to disable Javascript.

2.Browser Support. JavaScript is sometimes interpreted differently in different browsers. While server-side scripts always produce the same type of output, the output of client-side scripts is a bit unpredictable.

Well this is not a big problem because as long as they are working properly in big and popular browsers, then everything is safe.

Comments