INTRODUCTION TO JAVASCRIPT FOR NITDA STUDENTS
Hello friends. It's me again Python Security.
Today we will be talking about the Introduction of JS which is going to be a basic and short video.
1. What is JavaScript?
Response: It is the popular and most frequently used programming language in the world.
Javascript is the only language used in the front-end web development built in a modern browser which makes it the most
powerful programming language. There are other Javascript frameworks which can also be used for Back-end/Server side such as Node.js
But we will be talking about javascript as a client side programming language used in our modern browser today.
2. Tools needed for setup are:
a. Your favorite web browser such as google chrome or firefox
b. Your favorite code editor
3. Lets create a new folder for our tutorials. Please try to take your time and code every scripts being mentioned on the text editor.
This is a way of exercising your mind fully to understand how they all work.
4. create a new file called index.html and script.js
5. On the body of the index.html, right-click and select "open with live-server" option.
6. Let's create our first "Hello World!" with javascript.
7. Note you wont be able to see the console.log() action on the browser. The only way you can see it is by opening the browser console environment
to see the whole action happening. Watch my steps.
8. Note: In order for the browser to understand the javascripts code, it will need the help of javascript engine to help translate
the scripts to the browser which is already an inbuilt design on the browser.
9. Let's transfer our JS code into a .js file for better, secured and neat modern way of coding, we will link the .js file in our folder to our index.html file in the same folder using the "src" attribute.