Create FreeCodeCamp JavaScript Calculator

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

ความคิดเห็น • 32

  • @shepardlived3555
    @shepardlived3555 2 ปีที่แล้ว +4

    You've no idea how incredibly helpful this was to watch step-by-step. Thank you so much for your time and for sharing!

  • @sunitarawat8018
    @sunitarawat8018 3 หลายเดือนก่อน

    Thankyou sir for this video. I was stuck in last step. But I watched this video again & again and finally done.

    • @DwinaTech-coding
      @DwinaTech-coding  3 หลายเดือนก่อน

      @@sunitarawat8018 glad it helped

  • @DwinaTech-coding
    @DwinaTech-coding  3 ปีที่แล้ว

    Make sure to SUBSCRIBE and enable the bell for more tutorials, help the channel with share and like, thanks in advance. ❤️❤️

  • @xaida419
    @xaida419 2 ปีที่แล้ว +6

    I did this with React and only passed 12 of the tests, i tried putting the same code that i've write into a code pen and now all the tests works, any idea of why this happen?

  • @Paul-jw3dv
    @Paul-jw3dv 2 ปีที่แล้ว

    Thanks for the concise explanation. It's very helpful!😊

  • @alabiabdulbaasit8004
    @alabiabdulbaasit8004 9 หลายเดือนก่อน

    Thank You Mohammed. You've been so helpful. I wondered if it's necessary to use the useEffect hook though. I edited your code by discarding the output state and working with the calculatorData only instead and everything seems to work just fine. Any downside to this please?

    • @DwinaTech-coding
      @DwinaTech-coding  9 หลายเดือนก่อน +1

      If you got it working with using useEffect that more efficient 👍

    • @DwinaTech-coding
      @DwinaTech-coding  9 หลายเดือนก่อน +1

      Usually I would recommend not to use useEffect unless if you have to.

  • @boostermindsk3077
    @boostermindsk3077 2 ปีที่แล้ว

    Thank you Mo!!
    Also, though all tests are passed, I feel like it should also perform -9+6 type of operation. No big deal though😂😂...Thank you again❤

  • @PenikmatTeknologi
    @PenikmatTeknologi ปีที่แล้ว

    thanks

  • @DiamondDavid55
    @DiamondDavid55 2 ปีที่แล้ว +1

    tks bro. but you can update how to round 4 decimal number and display : Limit Number if the value is too long

    • @DwinaTech-coding
      @DwinaTech-coding  2 ปีที่แล้ว +1

      Add what you need to be rounded to this instead of num: Math.round(num * 10000) / 10000

  • @axlpad
    @axlpad ปีที่แล้ว

    Thanks it is un support to each one to learn thanks

  • @БекзатКали-с8м
    @БекзатКали-с8м ปีที่แล้ว

    excellent video! i am wondering how long did it take you to get your first job as a programmer?

    • @DwinaTech-coding
      @DwinaTech-coding  ปีที่แล้ว +2

      Thank you, it took me around 6 months to get my first job, always the beginning is hard, don't give up.

  • @waleedsharif618
    @waleedsharif618 2 ปีที่แล้ว +1

    Please make a react(hooks) testing tutorial on a function or onclick which is not been passed as props!

    • @DwinaTech-coding
      @DwinaTech-coding  2 ปีที่แล้ว

      Here is: th-cam.com/video/2GLSEVjm7Zc/w-d-xo.html

  • @lapkienlin8432
    @lapkienlin8432 ปีที่แล้ว

    I have some questions, i don't understand why you always use if condition with if (lastCHar === "*" || operators.includes(lastChar)) instead of if(operators.includes(lastChart) to check value has operators or not. Why * operator need to be set as a condition?

  • @FYTFyt-zy3oi
    @FYTFyt-zy3oi 5 หลายเดือนก่อน

    hello, recently i tried this source code in my codepen, but not passing all tests and css also not working i don't no why ?

    • @DwinaTech-coding
      @DwinaTech-coding  2 หลายเดือนก่อน

      You need to watch the full tutorial to find out how to use the code

  • @javieralejandroruiz3278
    @javieralejandroruiz3278 2 ปีที่แล้ว

    can someone explain the difference of using ' ' and ` `? is he using ` `?

    • @xaida419
      @xaida419 2 ปีที่แล้ว

      Using `` you can write in multiple lines and can also include variables in the string by wrapping them inside like this: ${var}

    • @boostermindsk3077
      @boostermindsk3077 2 ปีที่แล้ว

      string template literals

  • @MrMaraxli
    @MrMaraxli ปีที่แล้ว +1

    first time i did not like your teaching style . you just bringing ready code and explaning what is that. this is not the way teaching code it must be step by step not JUMPING

  • @aynuayex
    @aynuayex 2 ปีที่แล้ว +1

    it is good,but i can not understand your english language.saying this that ???note a good explanation.

    • @DwinaTech-coding
      @DwinaTech-coding  2 ปีที่แล้ว +1

      I will work to improve this/that :) 🙂