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

Поделиться
HTML-код
  • Опубликовано: 29 июн 2023
  • 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/coding-mentorship-...
    Eval() function (no longer recommended)
    developer.mozilla.org/en-US/d...

Комментарии • 11

  • @andresperezandreiev4435
    @andresperezandreiev4435 Месяц назад +2

    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!

  • @cicada2065
    @cicada2065 3 месяца назад

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

  • @mtrvansh
    @mtrvansh 5 месяцев назад

    The video was very helpful, thanks 🙏🏻

  • @kennjenga5390
    @kennjenga5390 11 месяцев назад +1

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

    • @Jonathansanchezdev
      @Jonathansanchezdev  4 месяца назад

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

  • @BHVinay
    @BHVinay 7 месяцев назад

    Does this work only with two operands 🙄

  • @user-lr2md5vt7h
    @user-lr2md5vt7h 3 месяца назад

    Good luck

  • @valentinavalverde9492
    @valentinavalverde9492 8 месяцев назад

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

  • @cicada2065
    @cicada2065 3 месяца назад

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