If and Else statement in #javascript

preview_player
Показать описание
Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.

All the learning resources such as code files, documentations, articles and community discussions are available on our website:

You can find our discord link, github link etc on the above website.

Рекомендации по теме
Комментарии
Автор

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.

HiteshCodeLab
Автор

You are my favorite teacher of all time. Thanks sir.

raghavjha
Автор

**with range**

var print = console.log
var marks = 9

if(marks === 0 ){
print('Fail')
}else if(marks <= 3){
print('Poor')
}else if(marks <= 5){
print('Good')
}else if(marks <= 8){
print('Very Good')
}else if(marks <= 10){
print('Amazing')
}

bibeksewa
Автор

Hitesh is in infinite loop today (unstoppable)

rajanchoudhary
Автор

sir, you are great.. watching your videos in 2020..

BabarAli-lrgs
Автор

Thank You Sir, and I did my assignment...!

var studentMarks = '10'

if (studentMarks === '10') {
console.log('Amaming');

} else if (studentMarks === '5') {
console.log('Good');

} else if (studentMarks === '3') {
console.log('Poor');

} else if (studentMarks === '0') {
console.log('Fail');

} else {
console.log('Not a student');

}

nayandas-ldzp
Автор

good sir. really love you please upload your live stream today

codingwithsam
Автор

Great sir Today you are uploading 3 videos of js that is cool sir...you are very fast sir... thanks for this videos...

sachintiwari
Автор

Sir please make videos of JavaScript in which we see the application of JavaScript how we use JavaScript for making dynamic web pages.

prakharsrivastav
Автор

Sir, what is true and what is false there?
Nothing is declared before..

samskritashubhashita
Автор

Damn good teacher I ever scene in utube... I'm big fan of you sir...

bhuvaneshkumar
Автор

Sir you are using visual studio code. What's your opinion on webstorm ide by jetbrains dedicated for JavaScript. Jetbrains make a lot of awesome ide s. Wouldn't it be a good option for beginners?

Somsubhra_Das
Автор

Wow! Amazing explanation.. But i am not happy with youtube notification.. Why he is not sending it.. Bte you are amazing

yashrajanshukla
Автор

Hi Sir, how can i call a windows services from Javascript and to link with a softkey button in HTML

sharronsaint
Автор

Var studentMark = 9;
If (studentMark < 10){
Console.log('Amazing') };
ElseIf (studentMark == 5){
Console.log('Good')}
Elseif (studentMark ==3){console.log("Poor")}
Else {Console.log("fail")};

sameermerchant
Автор

let marks= '9'

if(marks == '10'){
console.log("amazing you've got a choclate")

} else if (marks <= '9'||marks <= '5' ) {

console.log("improve your marks")

}
else{
console.log(" You got less than Five")
}

deekshithrajbasa
Автор

studentMark = 0

if (studentMark == 10 ) {
console.log('amazing')
} else if (studentMark == 5) {
console.log('good')
} else if (studentMark == 3) {
console.log('poor')
} else if (studentMark == 0) {
console.log('fail')
} else {
console.log('plz enter your mark correctly')
}

soyeb
Автор

var marks=4
if(marks==10)
console.log('amazing');
else if (marks<10 && marks >=5)
console.log('good');
else if(marks<5 && marks>=3)
console.log('poor');
else if(marks<3 && marks>=0)
console.log('fail');
else

console.log('check again');

garimadeswal
Автор

For Range
var marks = 1;

if (5<marks) {
console.log('Awesome');
}
else if (marks == 5) {
console.log('Good');
}
else if (marks == 0) {
console.log('Fail');
}
else if( marks < 5){
console.log('Poor');
}
else{
console.log('Not A valid Marks');
}

subhamadhikari
Автор

var marks = 1;

if (marks == 10) {
console.log('Amazing')
} else if (marks >= 5) {
console.log('Good')
} else if (marks >= 3) {
console.log('Poor')
} else if (marks >= 0) {
console.log('Fail')
}

TanishqAnand
welcome to shbcf.ru