What are the basics of JavaScript?
What is javascript?
Javascript is a programming language. High-level programming language. That runs in a browser and makes web pages interactive. Also, it is a cross-platform, object-oriented programming language
What is the meaning of high-level programming language?
It means the language is softly coded. You don’t need to know all about your machine.
In other languages, you must know how the machine works, how the code will be compiled, how to run the code, and how the code will take the memory. But you don’t need to know all of this in a high-level programming language
In JavaScript, the language will do all of this work for you.
What is the benefit of JavaScript and why JavaScript?
Imagine you are going to develop a complex app. Instead of thinking about the functionality of the app, if you start from scratch, considering what type of data it will deal with, how much memory it will require, and the time it will take, then you will see your budget or motivation deplete as you build the backbone of your app. In this case, since JavaScript is a high-level language, even without understanding what’s happening behind the scenes, you can start your actual work. By allocating two units of time for the main task of your app, choosing JavaScript as the scripting language seems appropriate to me.
But then the question arises. Why JavaScript? Earlier, we used to only think of JavaScript for DOM manipulation. DOM manipulation means adding some events to a web page, such as changing something when a button is clicked, changing the color of a logo, and so on. Now JavaScript is not only used for DOM manipulation but also for building complex cross-platform web applications, mobile apps, and much more. Now it is the most popular programming language. With Node.js, you can even work on web servers using JavaScript. With React.js, Angular.js, and others, you can build full-stack web applications. also, JavaScript can manage both front-end and back-end.
Now Your question about javaScript
Now more questions arise, as there are many more programming languages available now. How do we choose? If I learn JavaScript today, what if it’s not in demand in the market tomorrow? Ah, there’s a good answer to that. Those who are students of computer science might know that the concepts in the programming world somewhat overlap. You can say everything is built upon the same base. So, whatever language or technology comes in the future, its concepts will derive from these fundamentals. If you understand these basics well, you will never be unsuccessful no matter what you learn. I will never say there are plenty of jobs and you can earn a lot of money in the market with JavaScript. Everyone knows that. But I will tell you the technical reasons why you should learn it. If you grasp the concept of everything being somewhat similar, you’ll understand it well. Learning becomes easier when you work on something that seems difficult. From my own experience, I can tell you that if something is difficult, working on it makes it easier.
Where and how to use JavaScript
In the world of the web, the three most popular and widely-used technologies are:
1. HTML
2. CSS
3. JAVASCRIPT
All websites and web applications will have these three things. It means to say that these are the core strengths of the web. Even without JavaScript, a website can be complete, but websites of this kind are rarely seen where JavaScript is not visible. JavaScript can be used in two ways on the web:
Client-side: It runs only in the browser, And Server-side: It runs on the server, where the code is typically processed. Like node js
Post Comment