How to build a SIMPLE Javascript Calculator with just HTML, Javascript, CSS (without eval() method)

Sdílet
Vložit
  • čas přidán 27. 08. 2024
  • In this tutorial we'll cover how to build a real simple Calculator using Javascript, HTML and CSS - without frameworks and without using the eval() method.
    There are many many many ways of creating a Calculator in Javascript, but though that this might help get an easier grasp of some Javascript basics.
    There are lots of ways to optimize and improved this calculator
    Git repo here:
    github.com/cod...
    Eval() function (no longer recommended)
    developer.mozi...

Komentáře • 12

  • @andresperezandreiev4435
    @andresperezandreiev4435 Před 4 měsíci +3

    I'm creating the Odin Project calculator for the Foundations Path. I think your video really helped keep things simple, so just wanted to say thanks for this tutorial, Jonathan!

  • @beingold
    @beingold Před 2 měsíci

    The Odin learner here! best tutorial for beginners. Appreciated.

  • @cicada2065
    @cicada2065 Před 6 měsíci

    loved the serene background music while watching, god bless you my friend

  • @kennjenga10
    @kennjenga10 Před rokem +1

    Very simple and nice👌. Made me feel like a pro even though am a junior.

    • @Jonathansanchezdev
      @Jonathansanchezdev  Před 7 měsíci

      Glad it helped, yes trying to keep it as simple as possible, is good

  • @mtrvansh
    @mtrvansh Před 8 měsíci

    The video was very helpful, thanks 🙏🏻

  • @BHVinay
    @BHVinay Před 9 měsíci

    Does this work only with two operands 🙄

  • @user-lr2md5vt7h
    @user-lr2md5vt7h Před 6 měsíci

    Good luck

  • @valentinavalverde9492
    @valentinavalverde9492 Před 11 měsíci

    friendly reminder for those who don't know- always use semicolons! :)

  • @cicada2065
    @cicada2065 Před 6 měsíci

    loved the serene background music while watching, god bless you my friend