Simple JavaScript Calculator for beginners!

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 45

  • @karimelaoud5277
    @karimelaoud5277 Před 2 lety +7

    Thank you for your explanation, you have simplified a lot of concepts.
    moreover in line 20 of javascript, we can simplify the syntax by replacing:
    substr(0,output.textContent.length-1); by slice(0, -1);
    Thank you again for your job!

  • @yaredhaile9322
    @yaredhaile9322 Před 2 lety +2

    bro you deserve way more subscribers, thank you for this!

  • @kenander164
    @kenander164 Před rokem +1

    All thanks to you bro i am growing up

  • @dr.briaro
    @dr.briaro Před 2 lety

    the best and simpliest way by far. been looking over few weeks and no one have given the java inbuilt function eval yet. and you did. great video my friend

    • @linhdoan2252
      @linhdoan2252 Před 2 lety

      czcams.com/video/QS6Y0ezhyCs/video.html I have this guy here

    • @Robytsu
      @Robytsu Před 2 lety

      That's because eval () it's strongly not recommended.

  • @areebajunaid4673
    @areebajunaid4673 Před 2 lety

    This video is great ..continue making videos .I am sure your channel will grow one day.

  • @lovehalfblack9420
    @lovehalfblack9420 Před 2 lety

    The css alone was worth the watch. Thanks

  • @michaeldominion2103
    @michaeldominion2103 Před 2 lety +1

    Wow, am really really impressed., you nailed it all here.Thank you so much sir.

  • @jigneshtrivedi6955
    @jigneshtrivedi6955 Před 2 lety +1

    We learned so many things and thank you so much for making this video

  • @vansaber
    @vansaber Před 2 lety +1

    Nice explanation and Its easy to understand
    Thank you!

  • @zareelkalam3368
    @zareelkalam3368 Před rokem

    Thank you

  • @nioque
    @nioque Před 2 lety

    Thank you! It is great explanation.

  • @DerAleksey
    @DerAleksey Před 2 lety

    Доступно и просто, красавчик!

  • @iam.thomas
    @iam.thomas Před 2 lety

    Thanks for this tutorial, great job!

  • @akramshafiq3509
    @akramshafiq3509 Před 2 lety

    jani big fan of u from pakistan

  • @aneeshsha5097
    @aneeshsha5097 Před 2 lety

    amazing explanation brother thanks a lot

  • @codelanguages
    @codelanguages Před rokem

    Nice work.

  • @SatyamKumar-gz5wp
    @SatyamKumar-gz5wp Před 3 lety

    Nice explanation.
    Keep it up 👍

  • @koustubhkedar9662
    @koustubhkedar9662 Před 2 lety

    the calculator is so nice and excellent

  • @masshunter
    @masshunter Před 2 lety

    Good video. Thank you.

  • @osvaldobilendo3739
    @osvaldobilendo3739 Před rokem

    Really good!!!

  • @priyankanegi9293
    @priyankanegi9293 Před 2 lety

    nicely explained

  • @BACS_MANJUNATHIti
    @BACS_MANJUNATHIti Před rokem

    This will not work when the expression contains opening and closing brackets .

  • @nunamesfin3408
    @nunamesfin3408 Před 2 lety +1

    How can I substr in my visual studio code it is not working

    • @harvindersingh6237
      @harvindersingh6237  Před 2 lety +1

      There is no relation between subtraction and visual Studio code. Check the code once again and you can use my code as well I have shared the source code in description. Check it and I think it should work.

    • @nunamesfin3408
      @nunamesfin3408 Před 2 lety +1

      It don't meen substraction I mean substr you write substr for substring in afpp.js in the code my visual studio code doesn't work for substring what can I do

  • @sertansantos3032
    @sertansantos3032 Před 2 lety

    Great video

  • @otisolali2257
    @otisolali2257 Před 2 lety

    I built a calculator following your every step. But I can't stop the repetition of the 'dot' (.) button. Please how do I stop it?

  • @kylerobinson3072
    @kylerobinson3072 Před 2 lety +1

    Having a problem with the substr part. I can't get the computer to calculate

  • @nunamesfin3408
    @nunamesfin3408 Před 2 lety +1

    I can't substring what can I do

  • @nsg-ishan2807
    @nsg-ishan2807 Před 2 lety

    Bro the video is good but the problem is when you are adding the stylesheet because of no change
    after adding my it is showing same but I have follow the every intruction given by you

    • @dr_m06
      @dr_m06 Před 2 lety

      You have to link your " Stylesheet"

  • @smitpatel9275
    @smitpatel9275 Před 2 lety

    Bhai Apne ye to bataya hin nahi ki koi user operator 1se jyada baar enter kare to fir kya i.e(4**4+..) plz help on this also. Rest All was good thansks

  • @jigneshtrivedi6955
    @jigneshtrivedi6955 Před 2 lety

    Can you please explain this i am not able to understand output.textContent += buttonText;

    • @trinadhkamma8186
      @trinadhkamma8186 Před rokem

      it means we add buttontext to output.textContent and again store it in output.textContent
      we can also write above statement like output.textContent = output.textContent + buttonText.

  • @Rezlynxxx
    @Rezlynxxx Před 2 lety

    The substr in app.js is not working, I already used ur code and it still the same

  • @nunamesfin3408
    @nunamesfin3408 Před 2 lety +1

    To how

  • @khansirkachela3706
    @khansirkachela3706 Před 3 lety

    Are bhaiya ji