How to build a SIMPLE Javascript Calculator with just HTML, Javascript, CSS (without eval() method)
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...
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!
The Odin learner here! best tutorial for beginners. Appreciated.
loved the serene background music while watching, god bless you my friend
Very simple and nice👌. Made me feel like a pro even though am a junior.
Glad it helped, yes trying to keep it as simple as possible, is good
The video was very helpful, thanks 🙏🏻
Glad it was helpful!
Does this work only with two operands 🙄
yes
Good luck
friendly reminder for those who don't know- always use semicolons! :)
loved the serene background music while watching, god bless you my friend