Introduction to JavaScript



 Hey, Welcome! Okay, let’s do an interesting task.


Well, let me tell you this first. c'mon follow me and do this :

Step 1: Press right Click on this browser

Step 2: Select Inspect

Step 3: Go to Console

Step 4: Now Write this command alert('Your Name')


Can you see, your name pops up. Yes, this is called a JavaScript console. Well, this defines how you can write JavaScript code within the browser.

Supports different browsers like Chrome, Firefox, and many others.


Alright, let's just look around how the website and the server work together and give us the information we need in a fraction of seconds.





Here, the concept is very simple, whenever a user requests something from his computer's browser, the server sends some packets. This Packet Consists of HTML+CSS+JavaScript.


Cool, let us now discuss some points and differences between HTML, CSS, and our JavaScript.


Consider a car for example. Okay? The outer part of the car while manufacturing is your HTML

I mean the metal body! Yes, that's HTML! Same way, the skeletal part of a website is written using HTML.


HTML stands for HyperText Markup Language, it is not considered as a "Programming Language" though.


So what's CSS?

CSS stands for Cascade Style Sheet. As the name suggests it's used to style out a page layout for a better look! :P So, you can consider the car's paint and other parts!


Now, let's speak about our JS (JavaScript)


So your car is ready and even painting and other accessories fitting is done. Enough?, NO! What's the car's main part?? Engine right? Yes, JavaScript acts as an engine! We can add the behavioural and working part to the website!


Done, these are all included in a packet and that packet is sent to the user who requests any info from his/her computer.

JavaScript Frontend and Backend :


JavaScript can work in FrontEnd for UserInterface designs as well as in the backend. Yes, that's why it is known to be one of the powerful programmings languages.


From where should I start learning?

I solely suggest the CodeWithHarry JavaScript course! It'll teach you from start to end!

It's a complete package course.

Here's the link: https://youtube.com/playlist?list=PLu0W_9lII9ajyk081To1Cbt2eI5913SsL


Or, TSA will be launching a new customized course for everyone! With Hands-on projects! So, you can enrol for that!



This was a short note on JavaScript and how a server works! :)

More Will be coming soon.


Cya :)



/*Author */

Name: AkshayShastri

Computer Science, JS Developer.

Contact me :

WhatsApp : 7406960180

Email : akshayshastri221official1@gmail.com

LinkedIn : https://www.linkedin.com/in/akshay-shastri-5a0572200



Subscribe for our Newsletter

RE-IMAGINING THE WAY
Back to top