what is javascript ?

Tech avi
5 min readOct 29, 2022

--

If you use the Internet, then you must have heard about JavaScript. You must have thought, “What is JavaScript?” What work will it be used for? How can we learn it? How can we get information about what is JavaScript? We will talk about all these things in this article, so let’s know what is JavaScript .

what is javascript ?

JavaScript is a programming language used to create interactive web pages. It creates elements to improve site visitor interaction with web pages, such as dropdown menus, animated graphics, and dynamic background colors.

JavaScript was created by Brendan Eich for Netscape in 1995, then renamed Livescript, and later changed to JavaScript. kept.

Many programmers consider Java and Java to be related to each other, but in reality, these two are completely different from each other and there is no relation between them. Where Java is a very complex programming language, JavaScript is only a light-weight scripting language.

Javascript is a client-side scripting language as well as a server-side language.

Client side scripting

Such a script that runs on the user’s browser is called Client Side Scripting. Users can view the code of Client Side JavaScript in their browser as it runs in the browser.

Server Side JavaScript

Such scripting or programming that runs on the server and not on the browser is called Server Side Scripting. It can access the server’s files and databases. The code of Server Side Scripting cannot be seen on the user browser because it resides on the server itself and is executed there.

difference between java and javascript

JavaScript is not the same as Java at all. I want to tell you one more time that they are different from each other.

By the way, the names of these two are very similar, which creates confusion in the minds 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.

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

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

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

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” at the last possible moment.

What is the use of JavaScript?

JavaScript is a popular language which is used for many things today. It is mostly used for the following tasks:

  1. The user can find out which browser is being used.
  2. JavaScript is used to create mobile applications.
  3. JavaScript is also used in game development.
  4. Popups window like alert dialogue boxes, confirm dialogue boxes, etc. can also be created with JavaScript.
  5. Some information can be stored in the user’s browser and can be accessed when the user visits again. This information is called “cookies.”

Apart from all this, there are many such areas where JavaScript is used, such as in creating server applications. But these are important areas where JavaScript is used more.

Advantage of JavaScript

  • Simplicity: JavaScript is very simple to learn as well as to implement.
  • Easy to Learn: The JavaScript language is easy to learn. Because the code syntax in this is very simple.
  • Versatility: JavaScript is compatible with other languages like PHP, Perl, and Java. It also makes data science and machine learning accessible to developers.
  • Fast Execution: It is fast because it runs on the client side and does not require much server interaction.
  • With its help, a website can be made attractive and professional.
  • Popularity: plenty of resources and forums are available to help beginners with limited technical skills and knowledge of JavaScript.
  • Almost all type of operating system and browser is supported by JavaScript.
  • The server request is minimised by the JavaScript script, which is created for the ClientSide and executed by the browser on the user’s device.

Disadvantage of JavaScript

  • Security : JavaScript code that runs on the client-side is vulnerable to exploitation by irresponsible users.
  • JavaScript works in different ways on different browsers, so its output is also different on different platforms.

What is JavaScript Language?

If we speak strictly in terms of programming languages, JavaScript is not one of them. Instead, it is a programming language since it gives the browser instructions to carry out all the grunt work in the background.

If you command to replace one image with another, JavaScript tells the browser to do so. Because actually, the browser does all the work. You only have to write some codes in this scripting language so that the browser can do all your work.

Version of JavaScript

JavaScript VersionRelease YearJavaScript 1 ( ES1)1997JavaScript 2 (ES2)1998JavaScript 3 (ES3)1999JavaScript 4 (ES4)कभी Release नहीं किया गयाJavaScript 5 (ES5)2009JavaScript 6 (ES6)2015JavaScript 7 (ES7)2016JavaScript 8 (ES8)2017JavaScript 9 (ES9)2018

The version of JavaScript is called ES because its official name is ECMAscript.

How to Learn JavaScript

You can use the methods mentioned below to learn JavaScript.

Learn Javascript from Online Website:

  1. Https://Www.W3schools.Com/
  2. Https://Www.Tutorialspoint.Com/Index.Htm
  3. Https://Www.Learn-Js.Org/
  4. Https://Javascript.Info/

Learn JavaScript from YouTube Videos:

There are many such channels on YouTube that teach JavaScript for free, and there are also many courses in which you can learn by adding.

Learn Javascript With Online Courses: You can also join online courses to learn JavaScript, we have suggested some popular online courses from where you can learn JavaScript

  1. Udemy
  2. Codecademy
  3. Lynda
  4. EDX

Learn JavaScript at Coaching Institute

conclusion

Hope you know what is JavaScript. Where does JavaScript come in handy? How does Javascript work? If you liked the post What is JavaScript, then share this post more and how did you like it to comment.

--

--

Tech avi
0 Followers

Tech avi - is account me apko tech related post milegi toh tech avi ko follow kar ligiye