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.
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.
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 (^_^)
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
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.