Videos in a proper sequence and with discussion support are available at my website (of course free). It's easier for me to address issues at one place, instead of drilling into every video. A quick word, please help others in the discussion too. courses.learncodeonline.in/learn/Javascript-for-2018-developer
"%" is a modulus operator, it is basically used to give us remainder of an operation. For example 100 % 2 will give us 0 , however 99 % 2 will give us 1
program to convert Celsius and Fahrenheit to Kelvin (1)celsius to kelvin let cesiusTemp=40; let kelvinTemp=celsiusTemp+273.15; console.log(kelvinTemp); (2) Fahrenheit to kelvin let FahrenheitTemp=40; let kelvin=(FahrenheitTemp-32)*(5/9)+273.15; console.log(kelvin);
Modulus operator gives us remaining value let complex = ((4+4)*5)%3 console.log(complex) and answer is "1" This code work like this 4+4 = 8 8*5 = 40 40/3 = 19 and remaning is 1 and answer is "1"
Hi Hitsh , I am sure many people r new to VS code, so can u also type shortcut command that you use in VS code for Commenting Block,adding Prenthesis in function etc. while you explain.
Both can be used...doesn't matter... It's very controversial whether using let or using var is better...but both means the same:assigning variable (^_^)
The term Celsius.js is not recognized as the name of a cmdlet function sxript file or operable program check the spelling of name or if a path is included verify that the path is xorrect and try again category info object not found fully qualified error commandfound exception. Windows poweshell doeanot load commands feom the current location by default.... Answer ir
let allows you to declare variables that are limited in scope to the block, statement, or expression on which it is used. This is unlike the var keyword, which defines a variable globally, or locally to an entire function regardless of block scope.
@@sony07101988 bro you are amazing dud 'let' is a local variable (it limited up to a particular block ) but var is global variable it works up to entire function -thanks bro
var and let are both used for function declaration in javascript but the difference between them is that var is function scoped and let is block scoped. It can be said that a variable declared with var is defined throughout the program as compared to let.
There will theoretically be a day wherein I don't first try to spell "celsius" as "celcius", but today was not that day. Anyway, thanks very much for this video series.
Hello Hitesh, I am a web designer having 1.6 years of experience in HTML and CSS, I just finished the javascript programme but I'm not confident about my code, I request you to please suggest me any idea to get perfect in writing javascript code.
I forgot to say that thank you so much for providing such wonderful tutorials... Good Job... I really like your videos and moreover your way of explanation very cool.
Yes, the difference is with the Scope, just read more about "local scope" and "global scope". you will find out. The good practice is to use the keyword "let" to declare a variable. it's a New ES6 standard.
Videos in a proper sequence and with discussion support are available at my website (of course free). It's easier for me to address issues at one place, instead of drilling into every video. A quick word, please help others in the discussion too.
courses.learncodeonline.in/learn/Javascript-for-2018-developer
"%" is a modulus operator, it is basically used to give us remainder of an operation. For example 100 % 2 will give us 0 , however 99 % 2 will give us 1
Thanks in a million! “Great teachers are hard to find.”
Wow! 5 videos in a day.. You are doing such a great hard work.. Mind blowing hard work.. And mind blowing video
program to convert Celsius and Fahrenheit to Kelvin
(1)celsius to kelvin
let cesiusTemp=40;
let kelvinTemp=celsiusTemp+273.15;
console.log(kelvinTemp);
(2) Fahrenheit to kelvin
let FahrenheitTemp=40;
let kelvin=(FahrenheitTemp-32)*(5/9)+273.15;
console.log(kelvin);
Modulus operator gives us remaining value
let complex = ((4+4)*5)%3
console.log(complex)
and answer is "1"
This code work like this
4+4 = 8
8*5 = 40
40/3 = 19 and remaning is 1 and answer is "1"
who the fuck gave him dislike , this man deserves a salute , god bless you brother
Hi Hitsh , I am sure many people r new to VS code, so can u also type shortcut command that you use in VS code for Commenting Block,adding Prenthesis in function etc. while you explain.
Dude, your explanation is very crisp and clear.
dont you think that isntead of 5/9 if you directly use 1.8 the computational complexity of the code reduces
this series is very very very usefull
Keep up the work
modulus is use to find the remainder.. eg 5%2=1
The % operator also known as modulus returns the remain when ever two numbers are divided
e.g 7 % 4 = 3
sir what is the difference between var and let??
you have used both to assign variable...
var is used to initialise variables (memory holders whos values can be changed) and let is used to initialize constants
Both can be used...doesn't matter...
It's very controversial whether using let or using var is better...but both means the same:assigning variable (^_^)
You are amazing.. Hard worker.. Content is super amazing
Though I am a Bengali but your English sounds like my native language.. Its awesome
Sir. hiteshChoudhary, if you can get me clear touch on html and css would be really great!....
a%b = c
Mod operator returns remainder c after dividing a by b
For example
9%2 =1
The term Celsius.js is not recognized as the name of a cmdlet function sxript file or operable program check the spelling of name or if a path is included verify that the path is xorrect and try again
category info object not found
fully qualified error commandfound exception.
Windows poweshell doeanot load commands feom the current location by default....
Answer ir
Is 'let' and 'var' are same in JavaScript?
Sir what is difference between var and let ???
Let or var??
The scope of "let" is limited while that of "var" is not.
Consider this example:
var i = 34
for(let i=0; i
let allows you to declare variables that are limited in scope to the block, statement, or expression on which it is used. This is unlike the var keyword, which defines a variable globally, or locally to an entire function regardless of block scope.
What happen if I use only var keyword?
@@sony07101988 thanks for good explanation ,this is really nice example
@@sony07101988 bro you are amazing dud 'let' is a local variable (it limited up to a particular block ) but var is global variable it works up to entire function
-thanks bro
Hi Hitesh ...Why are you again using var instead of let.... should i use var or let
var and let are both used for function declaration in javascript but the difference between them is that var is function scoped and let is block scoped. It can be said that a variable declared with var is defined throughout the program as compared to let.
Thank you @@Streamlinedotcom
Now where is this command key in my keyboard?
Hey hitesh,,,, what is difference between let and var?
the modolus operator gives the remainder of a divition.
why you are not using semicolumn
I should have to learn JavaScript for the frontend developer course
sir modulus is used get reminder ie.(1 or 0) Ex.. 12%4==1 or 12%5==0
Yash Shende not only 1 or 0 it may be any number
Yash Shende like 12%7==5
var and let difference??
@mohit soni Thanks for the explanation.
bro are you sure that you will continue javascript series or suddleny you will stop ?plz tell me i am starting flowwing you
Which textbook I need to go for JavaScript???
can you make any video on uses of Terminal and Command Line?
Thanks Hitesh
you are great dada
There will theoretically be a day wherein I don't first try to spell "celsius" as "celcius", but today was not that day.
Anyway, thanks very much for this video series.
Modulus (%) is used to find the remainder.
when i try to do that trick by selecting all
the text just deltes and writes the symbol
Can anyone tell me to learn java script and be a full stack developer do i have to gain very high programming knowledge.
hitesh bhai does let and var are same
HEY.. your tutorials are awesome man!
what does var mean
Great video 👍🏾
" % " is used to find remainder in any programming language.
% operator is use to find remainder
Example - 9%2=1
Here 5 * 4 = 20 / 2 = 10 + 4 output is 14 Ok?
Thanks
Hello Hitesh,
I am a web designer having 1.6 years of experience in HTML and CSS, I just finished the javascript programme but I'm not confident about my code, I request you to please suggest me any idea to get perfect in writing javascript code.
I forgot to say that thank you so much for providing such wonderful tutorials... Good Job... I really like your videos and moreover your way of explanation very cool.
I am sure that you will definately complete JS course in a week or even in less than that... with this much of speed and consistency
I am surely looking for this as I have limited free and I want to use it as much as I can. makes me more productive. :D
u think his tuts are too confusing he taught something else in the variable lesson now he is starting the program with var
Great brother ....mjja aa gya....ek din me js puri😁
Learning JavaScript as i promised yesterday....😘😘
what is cmd+shift+it?
Works as remainder
Why youtube is not sending the notification?..
yash rajan shukla TH-cam take time to send notification almost 15-20 min
Same here...
That is Modulus for remainders
Sir I want to be best app developer plz help me to do
modulous gives remainder
is there a difference between let and var?
Umesh Singh yes
Yes, the difference is with the Scope, just read more about "local scope" and "global scope". you will find out. The good practice is to use the keyword "let" to declare a variable. it's a New ES6 standard.
Woooooo Back To Back.. 5 Videos..
Can we not use var keyword for strings?
it is possible
just say
var name = 'John'
.
.
.
console.log(name);
it will print John
Mudulator returns division remainder
you used for copy the statement
difference between var and let?
I did my assignment..!
% gives reminder
Modulator is just the remainder
% proovide remainder
% used to find remainder
present sir🙋 🙋 🙋
^_^ present sir ;-)
3 minutes maximum video extended to 13 minutes wao man
In my country = rest of the world
1 st viewer. 1st liker 1 commenter