Build a Simple Calculator with Vanilla Javascript - Beginner Project
HTML-код
- Опубликовано: 30 июл 2024
- In this video we will be building a simple calculator in good old plain vanilla Javascript! Feel free to follow along or skip around to the HTML, CSS , or Javascript portions. Timestamps below!
ZeroTo Mastery:
Master React JS Course - bit.ly/Learn-React-JS
Complete Web Developer in 2023 - bit.ly/Complete-Web-Developer
💻 Solve EDABIT coding challenges - BEGINNER! 💻
bit.ly/Code-Challenges
🔥 Connect with me on IG 🔥
/ fireclint
☕ Support the channel ☕
www.buymeacoffee.com/clintbriley
🔥 My Coding Equipment 🔥
Logitech MX Wireless Keyboard - amzn.to/3xKPFiN
Logitech MX Master 2S Wireless Mouse - amzn.to/3O5WmRD
SAMSUNG 49-Inch Gaming Monitor - amzn.to/3mvUy8M
Shure MV7 USB Podcast Microphone - amzn.to/3O00nqG
Mic Boom Arm - amzn.to/3NHn6YU
Monitor Desk Light Bar - amzn.to/3xzKlyj
Timestamps
0:00 - Start
01:10 - Create Files
03:00 - HTML
07:15 - CSS
15:54 - Javascript
15:57 - Initial Values
17:00 - Update Display
18:45 - Handle Key Press
22:05 - Inputs
25:40 - Handle Operators
29:35 - Calculate Logic
33:00 - Reset Calculator Наука
casually following along then doing it a few hours later in a different file without the video at all. Thanks for making it simple to understand.
Awesome Deon. That’s what you need to do!! 🙌
Man I really enjoy your videos. Your videos are great for practicing writing code. You can read all the docs in the world but practicing for me is where I learn the best. I've created about 6 of your projects so far and am looking forward to completing the all. I really appreciate what you are doing here, thanks so much.
Thank you my friend!
This video is AWESOME! Thank you!!
Yo , nice start , waiting for big projects 🤩
More coming Jimmy!
Is anyone else having trouble entering operands larger than a single digit? When I try to calc against, say, "11" it won't enter the second digit.
In the JS script. Under calculator Logic, I have copied everything correctly but for some reason my + option not working but everything else works. Please someone tell me the solution?
"I just left off the D" 🤣🤣... Great video. Do you think by hitting "Option + Z" to wrap the lines in VS code will prevent you from zooming in and out?
Haha caught that! I prefer not to be zoomed in at all when I’m working, but I figured it’s easier to be seen on a video if I’m zoomed in. Sometimes the word wrap can be a little confusing to me when I’m reading it.
Love tour voice tone and the way you explain. I paid for course less specific and clear. Well done
Awesome, thank you so much dude!
Hi dude
İ knew html ,css, tailwind css and i am learning js but i study public finance at üniversity.So i want to be full stack developer without study engineering like you . What are you suggest me In this process
Hey dude! Keep learning and building projects with js- great start!
@@codecommerce thanks
Number divided by Zero will output Infinity.
Ah, I fix I need to implement. Thank you Scott.
github plz??
I don’t think I hosted it, I’ll post it shortly!
@@codecommerce good
Please its highly request from my side for making an admin panel for different user data storing in reactjs redux and firebase🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
Yes! Coming soon!
@@codecommerce yes sir