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"
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.
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.
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
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
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.
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.
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.
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);
who the fuck gave him dislike , this man deserves a salute , god bless you brother
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"
Dude, your explanation is very crisp and clear.
modulus is use to find the remainder.. eg 5%2=1
this series is very very very usefull
Keep up the work
Though I am a Bengali but your English sounds like my native language.. Its awesome
a%b = c
Mod operator returns remainder c after dividing a by b
For example
9%2 =1
Modulus (%) is used to find the remainder.
Learning JavaScript as i promised yesterday....😘😘
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.
You are amazing.. Hard worker.. Content is super amazing
The % operator also known as modulus returns the remain when ever two numbers are divided
e.g 7 % 4 = 3
Woooooo Back To Back.. 5 Videos..
% operator is use to find remainder
Example - 9%2=1
Great brother ....mjja aa gya....ek din me js puri😁
" % " is used to find remainder in any programming language.
HEY.. your tutorials are awesome man!
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.
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
you are great dada
Great video 👍🏾
Thanks Hitesh
the modolus operator gives the remainder of a divition.
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 (^_^)
@mohit soni Thanks for the explanation.
Sir. hiteshChoudhary, if you can get me clear touch on html and css would be really great!....
Thanks
present sir🙋 🙋 🙋
% gives reminder
I did my assignment..!
I should have to learn JavaScript for the frontend developer course
That is Modulus for remainders
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
dont you think that isntead of 5/9 if you directly use 1.8 the computational complexity of the code reduces
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
Mudulator returns division remainder
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
Modulator is just the remainder
modulous gives remainder
^_^ present sir ;-)
can you make any video on uses of Terminal and Command Line?
when i try to do that trick by selecting all
the text just deltes and writes the symbol
Works as remainder
bro are you sure that you will continue javascript series or suddleny you will stop ?plz tell me i am starting flowwing you
Now where is this command key in my keyboard?
In my country = rest of the world
% used to find remainder
Which textbook I need to go for JavaScript???
Sir what is difference between var and let ???
Here 5 * 4 = 20 / 2 = 10 + 4 output is 14 Ok?
1 st viewer. 1st liker 1 commenter
why you are not using semicolumn
u think his tuts are too confusing he taught something else in the variable lesson now he is starting the program with var
Is 'let' and 'var' are same in JavaScript?
Hey hitesh,,,, what is difference between let and var?
var and let difference??
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
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.
hitesh bhai does let and var are same
3 minutes maximum video extended to 13 minutes wao man
you used for copy the statement
% proovide remainder
Why youtube is not sending the notification?..
yash rajan shukla RUclips take time to send notification almost 15-20 min
Same here...
what does var mean
what is cmd+shift+it?
Can we not use var keyword for strings?
it is possible
just say
var name = 'John'
.
.
.
console.log(name);
it will print John
Can anyone tell me to learn java script and be a full stack developer do i have to gain very high programming knowledge.
Sir I want to be best app developer plz help me to do
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.
difference between var and let?