Number Guessing Game | Javascript Beginner Project Tutorial

Поділитися
Вставка

КОМЕНТАРІ • 31

  • @CodePhilipYT
    @CodePhilipYT  4 роки тому +8

    Leave a like if this video helped you, also give me feedback and suggestions for more projects!

  • @freguenshoodjean5841
    @freguenshoodjean5841 2 місяці тому +2

    i like the way you said you are a beginner and there are some better way to do it.. thats so humble. 4 years later i hope you now an advance devlopper.............

  • @nilesiddiqui9067
    @nilesiddiqui9067 3 роки тому +8

    Is it just me or even after fixing the little mistake at the end of the video the program is still not working.

  • @Ahmed-qc5sj
    @Ahmed-qc5sj 7 місяців тому +1

    thank you for being honest and real not like other "perfect" coders who don't make mistakes

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

    Thanks!!! Love your tutorials!!

  • @codingwithkenny6492
    @codingwithkenny6492 3 роки тому

    Thank you so much sir! You are the best! I was trying to figure out how to build that project but didn't know how so I went on youtube and found your video!

  • @whatsnewnow4469
    @whatsnewnow4469 3 роки тому +3

    by watching i am able to understand the concept really well and javascript is language you will learn lot when you really building the project.thanks brother you are helping lot of students.👏👏👏👏

  • @srinivasaraoyp3640
    @srinivasaraoyp3640 3 роки тому +1

    Your demo is very easy and simple. It is very interesting. Thank you.

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

    I love this video 👌 You are a good teacher too! You have my Subscription 👌👏🏼

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

    thanks, this really helped me

  • @Vladimir-yh2dl
    @Vladimir-yh2dl Рік тому

    I was hoping you could do this with a while loop

  • @dallasp9821
    @dallasp9821 3 роки тому

    Hey I have just tried using your method to create this on a 000webhost page, but it is not processing the files. Have you had this issue?

  • @ranjitkaur4716
    @ranjitkaur4716 3 роки тому

    How do we include previous guesses into this

  • @katrinamalone5611
    @katrinamalone5611 3 роки тому

    I am trying to do a guessing number and it is not executing the java command. Any suggestions?

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

    do you have more projects saved somewhere ?

  • @53strat55
    @53strat55 3 роки тому +1

    Damn, its not working for me. Only difference i have is using + for number variable.

  • @Onyinwa-we2bk
    @Onyinwa-we2bk 4 місяці тому

    How did u pit the right guessing sir

  • @udaykiran.8629
    @udaykiran.8629 Рік тому +1

    super sir

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

    It keeps saying I guessed too low even when I say 100, or even 500. Can I get some help?

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

    good

  • @perssa1710
    @perssa1710 3 роки тому +6

    how can i put limited tries? nice video btw

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

    Thanks for this video sir

    • @CodePhilipYT
      @CodePhilipYT  3 роки тому

      glad you enjoyed it

    • @begimai3737
      @begimai3737 3 роки тому

      @@CodePhilipYT i really like your videos.When are going to post new videos?

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

    thanks 6th time

  • @tokiralam2532
    @tokiralam2532 4 роки тому +1

    One advice. Speak bit faster :)

  • @Arman-sr2gu
    @Arman-sr2gu 2 роки тому +1

    Are you german?

  • @Raj-iz9uz
    @Raj-iz9uz 3 роки тому

    How many Attempt logic needed...

  • @website.co.
    @website.co. Рік тому +1

    Thanks bro. ❤

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

    let btn = document.getelementedbyid("btn");
    let output = document.getelementedbyid("outputtext");
    let number = [math.floor(math.random() * 101)]
    btn.addeventlistner("click", function(){
    let input = document.getelementedbyid(userinput).value;
    if (input == number){
    output.innerhtml = "you gussed right, your number was $(number)"
    }
    else if (input < number){
    output.innerhtml = "you guessed too low"
    }
    if (input > number){
    output.innerhtml = "you guessed too high"
    }
    })