Tip Calculator | Javascript Beginner Project Tutorial

Поділитися
Вставка
  • Опубліковано 26 сер 2024

КОМЕНТАРІ • 17

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

    ❤️ Leave a like and subscribe if this video helped you, also give me feedback and suggestions for more projects! ❤️
    ▶️ For the Source Code and more Tutorials take a look in the description´
    ⏱ Timestamps:
    HTML Part:
    0:48
    CSS Part:
    3:10
    Javascript Part:
    9:20

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

      hey man i rlly like your projects and i just noticed that you been gone for over a year. i hope everything is fine and you continue making this js projects!

  • @OluchiIbe-iv3np
    @OluchiIbe-iv3np Рік тому +1

    you saved my life and just got yourself a new follower. Thank you so much!!!

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

    Thank you for this! I had to do this for school and couldn’t figure out where to start. You helped so much

  • @omkardongare3967
    @omkardongare3967 3 роки тому +5

    I guess your "tipAmount" formula is wrong it should be "(billAmount / 100) * tipPercentage", you can crosscheck for percentage other than "10". Thankyou for a wonderful project idea...

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

    thanks alot for the video easy to understand bcz of this video I am going to pass this the question I had in my test to designe the tip calculator thanks bro.

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

    this helped me out with a mini project thanks

  • @erichernandez8379
    @erichernandez8379 4 роки тому +6

    The math to find the tip amount isn't correct. Check it with something other than 10. It's an easy fix. Great tutorial though.

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

      @DT Man and Van Brilliant I was thinking the same thing )

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

    Keep up the videos!!

  • @KhaosKitty1
    @KhaosKitty1 4 роки тому

    Great tutorial! Thank you so much! :)

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

    Thank you very much brother

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

    Oh, how did you do this at 1:40, selected the elements and then applied inputs to all of them.

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

      I use VScode and there you can do multi line editing with ctrl + alt + arrow keys. :)

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

    Thanks a lot... I know you already quit web development...Sorry to hear that

  • @mackynikat8833
    @mackynikat8833 4 роки тому

    the decimals isn't working it seems

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

    When i have my getElemtByID outside the eventlistener it would not work, but when its inside its working why is that?
    This is working :
    calculate.addEventListener("click",function(){
    let bill = document.getElementById("bill")
    let tipP = document.getElementById("tipP")
    let tipA = document.getElementById("tipA")
    let total = document.getElementById("total")
    total.value = bill.value
    })
    This isnt working :
    let bill = document.getElementById("bill")
    let tipP = document.getElementById("tipP")
    let tipA = document.getElementById("tipA")
    let total = document.getElementById("total")
    calculate.addEventListener("click",function(){
    total.value = bill.value
    })