While Loops in JavaScript | JavaScript Tutorial in Hindi #10

Поділитися
Вставка
  • Опубліковано 29 січ 2025

КОМЕНТАРІ • 1,5 тис.

  • @CodeWithHarry
    @CodeWithHarry  2 роки тому +858

    Kya yaar circus ho gaya is video me poora 😂😅

    • @ettisafxrup
      @ettisafxrup 2 роки тому +31

      🤣🤣🤣 Lekin maja aaya bhai sikhh kar. Thank you so much

    • @shinroyalkings007
      @shinroyalkings007 2 роки тому +23

      Lol...Harry bhai is joking rare in comments 😁

    • @umairabdullah9041
      @umairabdullah9041 2 роки тому +10

      Circus accha nhi h🤣🤣

    • @chetanuzumaki9581
      @chetanuzumaki9581 2 роки тому +7

      😂😂😂 harry bhai lots of love

    • @Aryan_1557
      @Aryan_1557 2 роки тому +10

      what are you planning for 10 million ?
      any special video ?
      ya you will reach 10 M soon we can do that.

  • @osamaanees8406
    @osamaanees8406 2 роки тому +101

    Thank you for sacrificing your 64 GB RAM and Ryzen 9 for us.

  • @CodeWithHarry
    @CodeWithHarry  Рік тому +33

    Code Backup Repository: github.com/CodeWithHarry/ultimate-js-course-youtube

    • @abdullahmasood007
      @abdullahmasood007 Рік тому

      harry bhai kya karo kuch din sa koshish kar raha ho string number ma change nahi ho raha ha

    • @abdullahmasood007
      @abdullahmasood007 Рік тому

      harry bhai kya karo kuch din sa koshish kar raha ho string number ma change nahi ho raha ha

    • @jadhavkamini2199
      @jadhavkamini2199 Рік тому +2

      let number = prompt("Enter your number")//Input
      number = Number.parseInt(number)//Conversion of string into number
      .
      .
      .
      Hope it helped you ❤

    • @fareehaliaqat9627
      @fareehaliaqat9627 Рік тому

      notes provide kr do plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

  • @RudyGaming-v2h
    @RudyGaming-v2h Рік тому +11

    Creating a multiplication program using do while loop...........
    let n = prompt("Enter the value of n");
    n = Number.parseInt(n);
    let i =0;
    do{i++
    console.log(i+"X"+n +"=" +i*n)
    }while (i

  • @aaryantiwari9877
    @aaryantiwari9877 Рік тому +29

    sense of humour of editor and harry both are epic

  • @GaganSharma-qu6yc
    @GaganSharma-qu6yc Рік тому +10

    aise hi teacher ki zaroorat hai colleges me jo real time me wo cheeze bhi karke dikhayen jisse humara computer crash ho sakta hai.
    literally this man has scrificed his entire lifetime for quality education for free, even when he could have earned millions of dollars working for a MNC, he really understands the feeling of not getting quality education for free.
    HATS OFF TO YOU HARRY BHAI
    🙏

  • @AnkitPalji-v5c
    @AnkitPalji-v5c 2 роки тому +40

    Teachers don't just teach they prepare us for the ahead🙏🙏 I Love You Harry Bhai❤❤

  • @ALLROUNDERSHORTBANDA
    @ALLROUNDERSHORTBANDA 5 місяців тому +3

    let n=parseInt(prompt("enter a number "))
    let i=1+
    while (i

  • @astroblemegaming6294
    @astroblemegaming6294 2 роки тому +43

    Factorial via While loop:
    n = prompt("Enter the Number")
    n = Number.parseInt(n)
    let factorial = 1;
    let i = 1;
    while(i

    • @astroblemegaming6294
      @astroblemegaming6294 2 роки тому

      @Daniyal Masood Nahi sahi hai output

    • @respectgmechager8054
      @respectgmechager8054 2 роки тому +1

      galat program hai bhaii..

    • @astroblemegaming6294
      @astroblemegaming6294 2 роки тому

      @Daniyal Masood Its working on replit

    • @genix9001
      @genix9001 2 роки тому

      In my case, I entered 48 and it returned 1.2413915592536073e+61. I thought like what the hell is this

    • @Sam-bf7lw
      @Sam-bf7lw 2 роки тому

      @Daniyal Masood What's wrong in it?

  • @anamikamudotiya
    @anamikamudotiya 2 роки тому +8

    bhai Editing ek Number in all videos of this course, or mazza aa rha padne mai,
    circus nhi karna tha...😅
    Thank you so much for such an amazing course for free...

  • @sameerrana6356
    @sameerrana6356 2 роки тому +61

    Huge respect for you sir for putting out such good videos, please keep up the good work.

  • @Asthakwh
    @Asthakwh 2 роки тому +2

    Sir aise padhne ke baad bor ni hote...aur doubt bhi ni rahte ... thankyou sir
    Maine 2 hour me 10 lectures complete kar liye !!

  • @rabdeepkaur6881
    @rabdeepkaur6881 2 роки тому +41

    Sir you are jsut brilliant.i am house wife right now...with your course I feel like yeahhhhhh now I can do something thankyou so much Harry sir lots of love

  • @rituraj_3123
    @rituraj_3123 Рік тому +2

    You will be never bored in Harry bhai's classes....Circus bada funny tha waise😂😂

    • @RizviSahil-l1i
      @RizviSahil-l1i 23 дні тому

      i need a help my prompt is not working??

  • @farzanna
    @farzanna 2 роки тому +15

    Thanks a billion, watching you from Toronto being a student, learning a lot from your amazing videos, Great content.

    • @funnycartoonstory07863
      @funnycartoonstory07863 Рік тому +1

      @@wahabkhokhar8826 tum na kro kro

    • @wahabkhokhar8826
      @wahabkhokhar8826 Рік тому +1

      @@funnycartoonstory07863 Meri frontend complete hi chuki har bat main rai deny ki zaroorat nhin hoti

  • @ravi_sikarwar_19899
    @ravi_sikarwar_19899 2 роки тому +2

    Kahe ko karne ka circus ...hats off to you Harry bhai

  • @nitin1436_
    @nitin1436_ 2 роки тому +12

    Sir i watch your c language full course and your way of explanation is boom😅
    Thank you so much sir ji 🙏🙏

  • @Samant_Maheshwari
    @Samant_Maheshwari 2 роки тому +1

    Best Tutorial for Javascript in the history of youtube......

  • @theatypicaldeveloper
    @theatypicaldeveloper 2 роки тому +15

    Hey Harry, great video. Thank you for providing english subtitles!

  • @yashprakash4436
    @yashprakash4436 Рік тому +2

    circus sahi tha ...bs video dekh raha tha lekin jb apne ye circus dikhaya to mene bhi try kiya or while lopp smjh me aa gya ..isiliye app ye sb krte raha kro maja ata hai wo sbb krne me coding ko intresting bna dete ho app

  • @therubychauhan
    @therubychauhan Рік тому +1

    circus taught us what not to do!! but u r good trainer and entertainer in between lessons!!

  • @ravirajadhalikar9679
    @ravirajadhalikar9679 2 роки тому +9

    Thank you Harry for the wonderful sessions, the sessions are very useful. Much Appriciated!

  • @ranbeersingh4840
    @ranbeersingh4840 Рік тому +1

    One of Best coding teacher.

  • @anwrites2598
    @anwrites2598 2 роки тому +4

    Brilliant Harry bhai❤️❤️ I love your way of teaching...just everything is perfect...your notes, memes vedio editing....just everything
    Love from Pakistan 🇵🇰

    • @hana-dz9kt
      @hana-dz9kt Рік тому

      Iski gaane mein maar0 pakistani hai

  • @islamicworld786
    @islamicworld786 Рік тому +2

    Circus accha nhi hai lekin haris bhai joker accha hai😂
    Salute to you for your way of teaching🖖

  • @deblinadas8504
    @deblinadas8504 2 роки тому +2

    Such grt tutorials 🙏

  • @nasirnawaz4179
    @nasirnawaz4179 Рік тому +2

    You are a legendary teacher.

  • @ankithamirani4491
    @ankithamirani4491 2 роки тому +11

    // write a program to demonstrate while loop
    let a = prompt("Enter a number you want to print:-");
    a = Number.parseInt(a);
    let i = 1;
    while (i

  • @HemantSharmahs
    @HemantSharmahs 2 роки тому +31

    ///FACTORIAL USING WHILE LOOP
    let fact = 1;
    let n = prompt("ENTER A NUMBER");
    n = Number.parseInt(n);
    let i = 1;
    while(i

    • @itsshowtime2600
      @itsshowtime2600 Рік тому

      No need of fact because it can be executed by using n and i🙂

    • @Legend-fo4xh
      @Legend-fo4xh Рік тому

      @@itsshowtime2600 can you send code

    • @tanishbhardwaj1813
      @tanishbhardwaj1813 Рік тому +1

      How do u access prompt and alert in vs code without error???

    • @biharichaursiya7624
      @biharichaursiya7624 4 місяці тому

      @@tanishbhardwaj1813 you have to create an html file and link it with java script file

  • @jyotysingh653
    @jyotysingh653 3 місяці тому

    Daring teacher! Hats off to you! Thanks for this awesome video

  • @rohankulkarni5657
    @rohankulkarni5657 2 роки тому +9

    //table program Using do-while loop//
    let num = prompt("Enter The Value which you want to get table")
    let i = 1;
    do {
    console.log(num, " * ", i, " = ", num*i);
    i++;
    } while(i

  • @Shadow_FREE.FIRE444
    @Shadow_FREE.FIRE444 10 місяців тому

    do while loop
    let a=10;
    do{
    console.log(i)
    i++;
    }while(i

  • @june_uze
    @june_uze 2 роки тому +3

    Thank you so much sir 💘
    What an amazing course 💙🥰🌹

  • @sufiyanmogal1527
    @sufiyanmogal1527 Рік тому +1

    Thank you so much harry bhai for giving us the best course for free

  • @utsabmandal1070
    @utsabmandal1070 2 роки тому +6

    n = prompt("Enter the Number")
    n = Number.parseInt(n)
    function fact(x) {
    let factorial = 1;
    let i = 1;
    while(i

  • @liamliam1820
    @liamliam1820 2 роки тому +1

    let n=prompt("Enter the value of number")
    n=Number.parseInt(n)
    let fac=2 i=2;
    while(i

  • @abhijitradke7404
    @abhijitradke7404 2 роки тому +5

    Thank you very very much Harry Sir for the awesome course 🥰

  • @Himanshuvishwas62
    @Himanshuvishwas62 8 днів тому

    let k = prompt("enter the value of k")
    k = Number.parseInt(k)
    let m = 0;
    do{
    console.log(m)
    m++;
    }while(m < k)

  • @rm-personofcolor
    @rm-personofcolor 2 роки тому +4

    Learning from USA. great job sir !

  • @artimehra4833
    @artimehra4833 Рік тому +1

    thanks harry bhai😇😇😇

  • @a.ksmelodiousmusic1335
    @a.ksmelodiousmusic1335 Рік тому +4

    While loop Example:
    let a= prompt("What is your first number? : ")
    a= Number.parseInt(a)
    rec= "Recommandation: set the value of i= 0"
    console.log(i)
    let i= prompt("What is your second number? : ")
    i= Number.parseInt(i)
    while(i

    • @mohammadalfazafan6665
      @mohammadalfazafan6665 Рік тому

      bhai in dono mai kya differnce hn .. both of these lopps operates in sAME WAY

    • @I_am_Azeem
      @I_am_Azeem Рік тому

      @@mohammadalfazafan6665 while loop ko samaj lo bas. Do while loop use nahi hota ab

  • @aniketbanerjee6209
    @aniketbanerjee6209 2 роки тому +5

    You are an inspiration for beginner coders like us. its been a great journey since I started watching your tutorials.
    Thank you so much for these wonderful contents..@CodeWithHarry..💌💌..
    And haan sir circus achha nhi hai...🤣🤣🤣🤣

  • @technologychamber9749
    @technologychamber9749 2 роки тому +2

    One of my favourite video in this playlist 😉

  • @kshirodpatel
    @kshirodpatel 2 роки тому +11

    @CodeWithHarry we want a complete MERN stack tutorial after this JS session is over.

  • @Mocking_bird
    @Mocking_bird Місяць тому

    😁bhai Circus bilkul acha hai....ary bhai is circus ki wja se he to dill lga rehta hai....

  • @cochunter4597
    @cochunter4597 2 роки тому +6

    Hi Harry bhai I am from Pakistan I completed your html and css course and now learning this course your videos helps me alot thank you may Allah bless you more😊❤️
    One thing I want to say
    ( circus acha nahi hai 😋👍😂)

  • @Evilasdevil
    @Evilasdevil 3 місяці тому +1

    Awesome

  • @captainoddessy
    @captainoddessy 2 роки тому +10

    w3 should add console.tullu as replacement of console.log
    #console.tullu

  • @harveybabbar907
    @harveybabbar907 2 роки тому

    Bhai iske baad agar Ese hi React Ultimate Tutorial Shuru ho jaye, To Mazza aa Jaye...Thanks a lot bro.

  • @nikhilbaindla5001
    @nikhilbaindla5001 2 роки тому +4

    Sir, please start a crash course on C program. Mainly loops in C are difficult.to understand

  • @sufiyanmogal1527
    @sufiyanmogal1527 Рік тому

    // while loop quick quiz
    let n = prompt("Enter the value of n")
    n = Number.parseInt(n)
    let f = 1, i = 0;
    while(i

  • @aiknowledge-n2s
    @aiknowledge-n2s 2 роки тому +5

    How different is type script from javaScript?
    difference between jsx and tsx ?
    Can you make a course which the very fundamentals of REACT JS.

    • @taha5049
      @taha5049 2 роки тому

      very little difference if you ask me

  • @divyanshugupta2277
    @divyanshugupta2277 2 роки тому +2

    Quality content following the whole playlist...thanks bro...

  • @_yaduvanshi_5569
    @_yaduvanshi_5569 Рік тому +3

    Circus bahut accha h😂😂😅

  • @anupamtiwari5064
    @anupamtiwari5064 Рік тому

    Awesome video harry bhai❤

  • @vickys40
    @vickys40 2 роки тому +6

    7:18 - Circus accha nahi hai 😂😂😂😂

  • @DevRuhela
    @DevRuhela Рік тому +1

    // Program for factorial of n //
    let fact=1
    let n=prompt("enter the value of n")
    n= Number.parseInt(n)
    for(let i=1;i

  • @mayne4672
    @mayne4672 2 роки тому +5

    Circus is bad bad

  • @patilkiran2704
    @patilkiran2704 2 роки тому

    Ekch Number 🔥

  • @surajshresthasri
    @surajshresthasri Рік тому +1

    let n= 5;
    n=Number.parseInt(n)
    while(n>=1){
    console.log(n + "Harry Bhai is Great ")
    n--:
    Result - 5Harry Bhai is great
    4Harry Bhai is great
    3Harry Bhai is great
    2Harry Bhai is great
    1Harry Bhai is great

  • @surajkhatkar-xy1ut
    @surajkhatkar-xy1ut Рік тому +1

    Va beta va moj kardi ❤❤🎉🎉

  • @Lets_Code_1611
    @Lets_Code_1611 Рік тому

    //code executing while loop
    let n=prompt("Enter a number:")
    n=Number.parseInt(n)
    let i=0;
    while(i

  • @AdBoss12
    @AdBoss12 2 роки тому +1

    You are such good teacher

  • @LovepreetKumar-us6gw
    @LovepreetKumar-us6gw 2 місяці тому

    Thanks buddy, You are amazing!

  • @kaushikrajit5169
    @kaushikrajit5169 Рік тому +1

    // Q. Write a Program To Add n Natural Numbers By Using While Loop.
    let sum = 0;
    let n = prompt("Enter The Numbers");
    n = Number.parseInt(n);
    let i = 0;
    while(i

  • @wahabkhokhar8826
    @wahabkhokhar8826 2 роки тому

    Love you Bhai kasam sy itna acha AP samjhaty hoo love you from Pakistan 💓💓💓

  • @Ahtesham731
    @Ahtesham731 Рік тому

    Circus accha hai bhai ek number bhai

  • @Bhaavsutraofficial
    @Bhaavsutraofficial 2 роки тому +1

    Sir you are mind blowing

  • @souravsaha7248
    @souravsaha7248 Рік тому

    let n =prompt("enter the value of n")
    n = Number.parseInt(n)
    let i = 0;
    while(i

  • @mohammadalfazafan6665
    @mohammadalfazafan6665 Рік тому

    this one was the funniest from harry bhai .. 😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁

  • @Bhavesh2003yt
    @Bhavesh2003yt 2 роки тому

    harry bhai you are real khatro ke khiladi

  • @AnujSingh-ju4nr
    @AnujSingh-ju4nr 2 роки тому +1

    Harry bhaia...
    Circus acha hai😁

  • @tru..evilWizzard
    @tru..evilWizzard 3 місяці тому

    Thank you bhaiya 🎉

  • @KrishnaAbhale-cn9qy
    @KrishnaAbhale-cn9qy 11 місяців тому +1

    Press ctrl+alt+del keys to close app in such conditions. It will help

  • @adarshraj6679
    @adarshraj6679 2 роки тому +1

    sir i love your circus

  • @sarimnadeem3068
    @sarimnadeem3068 2 роки тому

    let b = prompt("enter the value of")
    b = Number.parseInt(b)
    let i = 99;
    do {
    console.log(b)
    i++;
    } while (i < b)

  • @Lv_La_Lr
    @Lv_La_Lr 5 місяців тому

    Harry Sensei OP❤❤

  • @majidmehmood-ji3fw
    @majidmehmood-ji3fw Місяць тому

    Let n=20
    Let I =0
    While (I

  • @adeshsharma7072
    @adeshsharma7072 11 місяців тому

    Best teacher in the world

  • @deepakgoswamivlog7584
    @deepakgoswamivlog7584 Рік тому

    quick quiz
    // do-while loop
    let n = prompt("Enter the value of n") // user se value manga
    n = Number.parseInt(n) // value ko ineger-number me convert
    let i = 1;
    do{
    console.log(i)
    i++;
    }while (i < n)

  • @theraunak1466
    @theraunak1466 2 роки тому +1

    thank you sir great work.

  • @royfamily9273
    @royfamily9273 Рік тому

    Thanks Harry Bhaiya

  • @neo435
    @neo435 Рік тому

    6:54 circus ka apna maza hai harry bhai ❤️😂

  • @kashishd1182
    @kashishd1182 Рік тому

    bhai ur editing is so much better now

  • @yogendrakesharwani3650
    @yogendrakesharwani3650 2 роки тому

    Sir aapka circus hum sab ke liye acha hai 😊

  • @priyanshutyagi_02001
    @priyanshutyagi_02001 Рік тому

    Thankyou harry bhai❤

  • @vickys40
    @vickys40 2 роки тому

    // QuickQuiz - Write a sample program demonstarting while loop
    let n = 100;
    let i = 0;
    while(i

  • @Sneha_Bhatia
    @Sneha_Bhatia 10 місяців тому +1

    For those, who are facing difficulty in executing Prompt in Replit.
    You can try adding
    Const prompt = require(‘prompt-sync’)();
    in the very beginning of the program.
    Prompt will start working.

    • @DrNileshvasava
      @DrNileshvasava 9 місяців тому

      Thanks it is working, how?
      I m just beginner.

  • @Coder-Crazy
    @Coder-Crazy Рік тому

    its really helpful ...great teaching...

  • @khizar9319
    @khizar9319 2 роки тому

    Lots of Love and Respect Harry Bhai.

  • @randomavghuman
    @randomavghuman Рік тому +1

    let a =Number(prompt("enter a number: "))
    let fact =1;
    let i =1;
    while(i

  • @OmPatel-z6w
    @OmPatel-z6w Рік тому

    your video is so help full

  • @shiva12832
    @shiva12832 Рік тому

    thanks bhaiya for your priceless efforts

  • @muhammadmusa1119
    @muhammadmusa1119 2 роки тому

    Khatron Ke Khiladi🔥😂

  • @GauravRai
    @GauravRai Рік тому

    console.log("hello");
    let num = prompt("give me a number");
    let i = 1;
    let factorial = 1;
    while(i

  • @divyanshuchauhan4527
    @divyanshuchauhan4527 Рік тому

    collage ke ya school ke computer ka lan connection bigadna hai to bdia trick h harry bhai ki sb pareshaan ho jyenge...😂😂😂😂

  • @Techzone8855
    @Techzone8855 6 місяців тому

    Thank you soo much sir 🙂🎉❤

  • @MonikaKumari-er4de
    @MonikaKumari-er4de 2 роки тому

    Thank you bhaiya 💕

  • @Rajakumar-lm2tp
    @Rajakumar-lm2tp 2 роки тому

    thank you harry bhai🤗🤗🤗

  • @sambeetsahoo2373
    @sambeetsahoo2373 2 роки тому

    circus acha nahi he .....hahahha .....U r a great teacher ....Harry Bhai ......i will surely meet u once .....when i will achieve a job.......