Double slash //
Between /* and */
Var tells browser
to create new
variables
var x=5+6;
var y=x*9;
Keywords are
used to
identify action
to be perform.
50
An expression is
a combination of
values, values
and operators
which computes a value
JavaScript is the most
popular programming
language in the world.
A programming language is
a formal constructed
language designed to
communicate instructions
to a machine,
particularly a computer.
• In <head> and <body>
using <script>…</script>
• In an external file
<script src=“file.js”>…</script>
• Alert box: window.alert()
• HTML Doccument: document.write()
• HTML Element: innerHTML.*
• Console: console.log()
Values Operators Expressions Keywords Comments
Values
Fixed
Values
Variable
values
literates variables
10.05; 1001;
‘afk’;
var x ;
x = 6 ;In programming language,
Variables are
used to store
data values.semicolon
Statementterminator
It separates statements
;
Values
Assignment
operator
Arithmetic
operators
To assign values to variables
=
1. var x = 5;
2. var y = “afkTech”;
To compute values
+ - * /
1. (5+6)*10;
2. ((2+3)/3)*2;
Expression
5*10
x*10
x*y
“a”+ “ ”+ “F” + “ ” + “K” a F K
20
6
var x =2;
var x=2;
var y=3;
Keywords
Non executables in code
Comments
o A must learn language for web
development
o Most popular programming language
o Easy to learn ! [relatively :p ]
JavaScriptInfographics-01
Made by Kingshuk with love in Bangladesh
www.Jontrojog.com
www.fb.com/groups/JPC.public
www.fb.com/Jontrojoghttp://afkingshuk.blogspot.com
www.fb.com/afktechnologies
Special thanks to W3Schools.com and 10MinutesSchool

JavaScript learning infographic - 01

  • 1.
    Double slash // Between/* and */ Var tells browser to create new variables var x=5+6; var y=x*9; Keywords are used to identify action to be perform. 50 An expression is a combination of values, values and operators which computes a value JavaScript is the most popular programming language in the world. A programming language is a formal constructed language designed to communicate instructions to a machine, particularly a computer. • In <head> and <body> using <script>…</script> • In an external file <script src=“file.js”>…</script> • Alert box: window.alert() • HTML Doccument: document.write() • HTML Element: innerHTML.* • Console: console.log() Values Operators Expressions Keywords Comments Values Fixed Values Variable values literates variables 10.05; 1001; ‘afk’; var x ; x = 6 ;In programming language, Variables are used to store data values.semicolon Statementterminator It separates statements ; Values Assignment operator Arithmetic operators To assign values to variables = 1. var x = 5; 2. var y = “afkTech”; To compute values + - * / 1. (5+6)*10; 2. ((2+3)/3)*2; Expression 5*10 x*10 x*y “a”+ “ ”+ “F” + “ ” + “K” a F K 20 6 var x =2; var x=2; var y=3; Keywords Non executables in code Comments o A must learn language for web development o Most popular programming language o Easy to learn ! [relatively :p ] JavaScriptInfographics-01 Made by Kingshuk with love in Bangladesh www.Jontrojog.com www.fb.com/groups/JPC.public www.fb.com/Jontrojoghttp://afkingshuk.blogspot.com www.fb.com/afktechnologies Special thanks to W3Schools.com and 10MinutesSchool