0% found this document useful (0 votes)
5 views12 pages

Introduction to JavaScript Programming

Uploaded by

pratapsinghps007
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views12 pages

Introduction to JavaScript Programming

Uploaded by

pratapsinghps007
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

W E L C O M E T O

JAVA
SCRIPT
let’s Start
Introduction to
Programming
Programming is a way to talk to computers.
The Core Concept
Humans use languages like Hindi, English, or Bengali to
communicate with each other.
Computers need straightforward instructions to follow.
A Computer is Dumb!
Yes.. Computer is Dumb...if it is not programmed.
You must give it precise, step-by-step instructions. (Think:
When was the last time you ordered cereal and got DVDs
of a TV serial?)
आप इस मूवी द्वारा भी समझ
सकते है की प्रोग्रामिंग क्या होती है
JAVA vs JAVA SCRIPT
Java एक Programming Language है, जिसका
इस्तेमाल मुख्य रूप से Android Apps, बड़े सिस्टम और बैक-
एंड (सर्वर-साइड) लॉजिक बनाने के लिए किया जाता है।
JavaScript एक Scripting Language है, जिसे मुख्य
रूप से वेब पेजों को इंटरैक्टिव और गतिशील (Front-end)
बनाने के लिए बनाया गया था।
How to Execute JavaScript
Directly in the Browser:
You can open the JavaScript Console (in your browser's Developer Tools)
and write and execute code immediately.
You can insert the code inside the <script> tag of an HTML document.

Using a Runtime Environment (Outside the Browser):

You can install and use a runtime environment like [Link] to run JavaScript
code directly on your computer's operating system (for server-side
programming or general utility tasks).
Variables & Data
Syntax
Just like we follow rules (grammar) while speaking English, we must follow
a set of rules when writing a JavaScript program.
The set of these rules is called Syntax in programming.

What is a Variable?
📦
A variable is a container that stores a value.
Analogy: Think of variables as the physical containers (like jars or
bags) you use to store different items such as rice, water, or oats.

The key feature of a programming variable is that its value can be


changed during the execution of a program (it is variable).
Type Of
Variables
Rules for Variable
Names & Keywords
Thank You
For Attention
See You Next

You might also like