If Else Conditionals & Switches in JavaScript | JavaScript Tutorial In Hindi #8
Vložit
- čas přidán 13. 07. 2019
- I have an updated version of JavaScript course going on. This Ultimate JavaScript course is being supplied with handwritten notes and I highly recommend the latest course over this.
Must watch the updated course here: • JavaScript Tutorials f...
►JavaScript Tutorial For Beginners In Hindi Playlist - • JavaScript Tutorials I...
►Source Code + Other Material - codewithharry.com/videos/java...
This video is a part of my JavaScript In Hindi Course. JavaScript is a high-level, interpreted programming language that conforms to the ECMAScript specification. JavaScript has dynamic typing, prototype-based object-orientation, and first-class functions.
Alongside HTML and CSS, JavaScript is one of the best and most demanded technologies of the World Wide Web. JavaScript enables interactive web pages and is a crucial part of web applications. The vast majority of sites use it, and major web browsers have a dedicated JavaScript engine in order to execute it.
As a multi-paradigm language, it supports event-driven, functional, and imperative programming fashion. It has APIs for dealing with text, arrays, regular expressions, and the DOM, but the language itself does not include any I/O, such as networking, storage, or graphics facilities. It relies upon the host machine environment in which it is embedded to provide these features.
►Click here to subscribe - / @codewithharry
Best Hindi Videos For Learning Programming:
►Learn Python In One Video - • Learn Python In Hindi ...
►Learn JavaScript in One Video - • JavaScript Tutorial
►Learn PHP In One Video - • Learn Php In One Video...
►Machine Learning Using Python - • Machine Learning Tutor...
►Creating & Hosting A Website (Tech Blog) Using Python - • [Hindi] Web Developmen...
►Advanced Python Tutorials - • Intermediate/Advanced ...
►Object Oriented Programming In Python - • Object Oriented Progra...
►Python Data Science and Big Data Tutorials - • Python Data Science an...
Follow Me On Social Media
►Website (created using Flask) - www.codewithharry.com
►Facebook - / codewithharry
►Instagram - / codewithharry
►Personal Facebook A/c - / geekyharis
Twitter - / haris_is_here
I have an updated version of JavaScript course going on. This Ultimate JavaScript course is being supplied with handwritten notes and I highly recommend the latest course over this.
Must watch the updated course here: czcams.com/play/PLu0W_9lII9ahR1blWXxgSlL4y9iQBnLpR.html
Thank You Harry 💌💌💌
and ...thank you so much. by your continuous effort we are learning in very easy way, free of cost.
Thank you Harry bhai..love you..♥️
My first programming language
Best JavaScript Tutorial On CZcams.
Thank you Code With Harry 😃♥️
11:30
Question Solved Sir....
Answer :
let age = 18;
canVote = true;
if(age >= 18 && canVote ) {
console.log("You can vote");
}
else if(age
Bro Your condition is wrong... U can choose >= or
Awesome tutorial bhai, i was new in programming and this is my first launguage after html and css, and i can easily access notes and all, wish me luck for the long journery,, allah hafizz
you are awesome.......i am a begginner and now i am learning very fast .........thanks bro
Wa Harry Bhai mst video bnayi apne,
Thank you so much sir for your high efforts
Superb videos sir hats of to u
sir thank you so very much 😃♥️
love you bro!
Thank You very much bro.
11:30
let room1 = 23;
let room2 = 'Sam';
let stu = true;
if((room1 == 23 || room2 == 'Sam')&& stu ){
console.log('Printed all terms')
}
else{
console.log('Not Printed');
}
harry bhai, one short advice if new audience or new programmer are viewing this video, please pause and ask to take notes or make digital notes otherwise its seems that audience will learn JS by just watching the tutorial.
Great video🎺🎺🎺
Thanks a lot Bhaiyaa
you are coding master!!!):):-
perfect explanation of if else and switch ..
thank you so much sir
zabardast tutorials
Thanks bro ♥️
Thank you bhai ❤️
Thank you Harry bhaiyya
Thanks bro❤❤
const a=12;
const b=12;
const c=12;
if(a==b && a==c && b==c ){
console.log('equivalent triangle');
}
if(a==b ){
console.log('isosceles triangle');
}
else {
console.log(' scalene triangle');
}
Iska O/P isoceles triangle ainga na ?
@@aavezshaikh143 equivalent and isosceles dono aaenge.
आप इतना सारा फ्री में सिखा रहे है मेरे पास पैसे नहीं आपको देने को लेकिन मै आपके ads पर क्लिक नहीं करता हूँ ताकि आपको थोडा revenue generate हो सके
love you harry bhai for this type learning for free
proud to be an indian
jai hind jai bharat
Thanks
harry bhai, Hacktoberfest ke bare me btane ke liye shukriya
mai class 9 me padti hun aur maine T shirt jeet li.....................................................................
nice harry bhiya
Thanx Harry
best hai Sir jee
Lub you😍😍😍
Thnx
Harry bhai makes everything easy..😊
Thank u for these videos Harry bhai....Great videos and Great contents
Data structure and algorithm plzzzzzzz
good sir ji
thank you so much harry bhai for your hardwork
Thank u so much bhaiya. Best channel to learn.
love to learn
💯💯💯
Amazing tutorial sir
Harry bhai ek playlist "code with SEO "ho jaye please sir
var a=10
var b =15
console.log(ab);
asked in interview , Do this simple ques also
Hello Harry bhai please shall and bash language ke upar Ek video bana do...
harry bhai agar possible ho to sql ki bhi playlist banao
Js is so easy
Only because of Harry Bhai 🙏
Are not python also?
it is so difficult for beginners
for ex - me
Mast joke mara bhai😂😂
I am yours big fan 💕💗💛💕💛💞🧡💕🧡💞🧡💕💛🧡💚🧡💕🧡and 30ty liker
if anyone is having problem in switch then dont worry it is just for ur knowledge u will often use if else
11:41
age = 15;
if (age == 15 || age < 15) {
console.log('you age not aligible')
} else if (age == 100 || age > 100) {
console.log('your are outdated God is waiting for you')
} else {
console.log('You are aligible')
}
Congratulations on 1 million subscribers
Bhai operators ke baare me to btaya ni apne is poore course me?
From where did you learn java script ?
Plz tell me in details about form validation
Done
😊😊
sir please django ka social app bna dijiye, ek video mai
I have made default using template literals
Bhai plz es6-7 bhi cover krna course me and Dom bhi plz
mujhe be ek Dil bro ♥️♥️♥️♥️♥️
great sir ji.
04:50 - ===
08:41 - typeof variable
Harry bhai default me bhi break hota hai kya?
Done done again
var age = 8;
switch (age){
case 18:
document.write('You are 18');
break;
case 28:
document.write('You are 28');
break;
case 38:
document.write('You are 38');
break;
default:
document.write('Age unknown');
break;
some one please reply : there are situations we need to use multiple if (no else if ) and one else , in that condition to execute else condition all the if condition must be false at once
Sir data structure aur algorithm start kab karenge...
You can get a tutorial on edureka
var ex=34
if(typeof ex !== "undefined" && ex>31 &&ex
If else and switch condition work same?
Bhai function in JavaScript pe video banao
thank you harry almighty
if(testdrive && age=60)
{
console.log("you cannot drive");
}
else if(testdrive && 18
Bro aapne es video me comparison operation ka use Kiya hai lekin es series me esse pehle comparison operator ke baare me bataya nahi hai
Awesome 🔥
Harry Bhai ye ap console.log me sub print kar rhe ho ye sb webpage pe kese print Hoga ?
If we want to use propmt for age
11:29
const marks_1 = 92;
const marks_2 = 75;
const marks_3 = 88;
if (marks_1 && marks_2 && marks_3 >=80) {
console.log("Your result is excellent");
}
else if ((marks_1 && marks_2) || marks_3 >=80){ console.log("Your mark_1 & mark_2 is good");
}
else if (marks_1 || (marks_2 && marks_3 >=80)){
console.log("Your mark_2 & mark_3 is good");
}
else {
console.log("Your result is poor!!!");
}
//output
Your result is excellent
doing this after learning css
awosem video sir
I was thinking that I know 'if else " and so can I skip this video, but I have watched and as I expect I learn so many things. you are amazing.☺
Harry bhai switch program me default ke bad break kiw lagay hai
😌
noicee
Thankyou Harry Sir ❤❤
Keep supporting Harry
Harry bhaii.... JavaScript k notes kaha milege ... Handwritten.... Plzzz inform me
1 million subscribe from myself
14:11 main kauns extension use kiya hain
Thank you for providing free vedio. You are requested to provide chatsheet of all the vedios on nominal payment.
if else condition is similar to C Language.
let age = 15
let weight = 65
if(age>18 && weight18 && weight
Harry Sir how are you removing the intend, means what is the shortcut for this ??
shift + tab
I would like to see you on the sundeep maheshwari stage ....
Your qualifications plz
he is an nasa certified HTML hacker and he is from iit kharagpur
ek dikkat he esse sikh toh jaenge lekin jo agar website ya apps baane me thodi dikkat dsega jese ye kiss tarah se estemal kare
Could you make a video on adding cut scenes in pygame
const vari = "undefined"
if(typeof vari === 'undefined'){
console.log('Vari is defined')
}
else{
console.log("Vari is not defined")
}
why the output is coming vari is not defined please explain anyone?
Hello sir I m iqbal katni mp
Sir vs code me Jarvis project try kar rha hu lakin usme muje kai sari dikate aa rhi h usme voice nhi chal rhi h
Please help me
Ky app ka contect no mujhe mil sakta h
i am Amit from katni
Can you guys tell me ..How to indent multiline through keyboard?
If you are using VS code then you can achieve this by pressing the alt key and wherever you will tap the mouse button along with the alt key, the cursor will appear in all those spots and you can write simultaneously at all those spots.
How to use if condition in html without using js please help me
You cannot, you will have to use some templating engine like pug or ejs