🔔subscribe and turn on the notification bell. 👉 source code: codepen.io/Web_Cifar/pen/XWdVgXr 👉 #30days30submits : github.com/ShaifArfan/30days30submits
@stevevang5063 жыл бұрын
The BEST JS calculator tutorial on the web. hands down.
@nikhilraj40983 жыл бұрын
Hands down the best calculator on vanilla JavaScript period. Every one uses eval function and you hard coded the logic, and you added so much functionality and all this is 1 hour, Please make such good projects more that help us in learning how to form logic. This video is under-rated
@rubaiyabegum17223 жыл бұрын
got this project done without any suffering....Jazakallah khair
@soldishero_y Жыл бұрын
Thanks. A little confused with numbs and elements but helpful tutorial!
@Ace7182153 жыл бұрын
Awesome tutorial brother best js calc tutorial ive seen. keep up the great work
@webcifar3 жыл бұрын
Thanks
@speedbump1642 жыл бұрын
this was an amazing tutorial. the design and code itself are great. this is exactly what i needed to troubleshoot my own calculator app. you definitely earned a thumbs up and a sub. thank you so much
@barryowino14852 жыл бұрын
The best calculator built with vanilla JS...keep it up
@charlesjoma5362 жыл бұрын
Awesome Tutorial, keep them coming, awesome how you walked through the reasoning for everything!! Helped me Alot Thank you
@blackwidow4real3 жыл бұрын
Thank you kindly sir, you are explaining it very well and it was fun to follow along and make this calculator with you
@MaximilienBrunet Жыл бұрын
Great! Thank you very much! 🙏🙏🙏
@chisomannastesia9822 жыл бұрын
tank you for this awesome guide. its so beginner friendly
@kenethnjoroge53133 жыл бұрын
If not for anything, you winned me over as a subscriber coz of this video... Thank you for the great work🔥!
@TioYoh3 жыл бұрын
Thank you for the class! I learned a lot!
@MuhammadAdnan2.04 жыл бұрын
great history feature still watching ,,,,,,,, unique really :D validation as well
@webcifar4 жыл бұрын
Thank You ✌
@Alan-ox2hp3 жыл бұрын
Good video, thanks. Good to learn from different sources. many thanks
@elexafm4 жыл бұрын
thank you so much for this video. you explained sooo well the logic that i was able to make some changes for my own calculator project. like subscribe and share for this gentleman
@riajmahmud4303 Жыл бұрын
This is the best calculator titurial
@rohanshoaib14754 жыл бұрын
Great Job man!!
@dgross47352 жыл бұрын
Excellent work. One question, What would need to be done to change the color of a key or row of keys like at the top to be a different color than the number set below...?
@onyinyechukwuma42723 жыл бұрын
This was so helpful. thanks
@shoeb_akter3 жыл бұрын
You are AWSOME🔥
@webcifar3 жыл бұрын
Thanks Brother ♥
@samarjamil30534 жыл бұрын
Great job 👌
@webcifar4 жыл бұрын
Thank you
@istiakahammad70744 жыл бұрын
Thanks for this video
@webcifar4 жыл бұрын
Most welcome
@madhavsewag48043 жыл бұрын
How can I do continue calculation with = operator
@jayeshbansod85153 жыл бұрын
Uncaught typeError : numbersE1.forEach is not a function at......... Sir sir why it is happening and what do it for this error. Please tell me
@fittingprize81353 жыл бұрын
same here, do u find the solution ?
@mateuszmichalski67473 жыл бұрын
check if you have const numbersEl = document.querySelectorAll(''number'). At first I also had this error but I noticed that I have const set with just .querySelector (without 'All' at the end)
@sprahzyend75354 жыл бұрын
Good tutorial!
@webcifar4 жыл бұрын
Thanks!
@Harrison24 жыл бұрын
dope...going to start on an earlier video
@webcifar4 жыл бұрын
Go for it!
@istiakahammad70744 жыл бұрын
Can you make a sciencetific calculator?
@webcifar4 жыл бұрын
I can try
@alijaafar40553 жыл бұрын
forEach loop is giving me an error, why
@jassrajput8904 жыл бұрын
awesome
@ЛюдмилаЖерко3 жыл бұрын
There is a small bug . if second operand is empty and has "." value and when you press equal button the result says NaN. Nevertheless great tutorial
@webcifar3 жыл бұрын
Thanks for mentioning it.
@taslucian Жыл бұрын
I like this code. It is verry clean and verry clear, but the calculator is not doing the calculations in the correct order. This is happening because of the temporary result. One example is: 2+3*2 . The result should be 8, but the calculator give the result 10 witch is not correct. How can we fix this?
@MuhammadAdnan2.04 жыл бұрын
Day 29 portfolio something like this. www.templateshub.net/demo/?theme=robert-personal-onepage-html-template
@eelguneezmemmedov16713 жыл бұрын
What u say and write i understand clearly but when i start to code by myself i stuck ((( Could u say why ? how u became to this level ?
@webcifar3 жыл бұрын
It happens with everybody. You need to keep trying.
@eelguneezmemmedov16713 жыл бұрын
@@webcifar Thanks for feedback i will do my best!
@basseyjennifer56013 жыл бұрын
thank you
@webcifar3 жыл бұрын
You're welcome
@lerdrobott5493 жыл бұрын
This code doesnt follow MDAS
@ahadamin73612 жыл бұрын
31:33
@ce70834 жыл бұрын
Dude, I was follow every step on this video tutorial but my calculator doesn't want to click (unclickable) - What the heck is going on? how I can connect with you? How do I know if you or someone replying this my message in youtube?
@ce70834 жыл бұрын
Its only the UI that's work, in my code.. pls some help?
@webcifar4 жыл бұрын
Check the click eventlistener. If you are still facing the problem just join the facebook group and there you will find me.
@ce70834 жыл бұрын
@@webcifar Thanks a lot for replying my message dude I really appreciate it, for now I don't have FB account I'll make it & finding you (on it) later..
@manjupriyakarthikeyan4 жыл бұрын
@@ce7083 same problem for me (unclickable.).if you find a solution for that .help me
@tehannasmall23163 жыл бұрын
@@ce7083 hi, did you get the buttons to become clickable?? I don't have Facebook to connect with you
@devShahriar3 жыл бұрын
You need to work more on logic brother , keep it up
@webcifar3 жыл бұрын
Thank you
@techwithoge68994 жыл бұрын
This is so nice, made something similar to this ya'll can check it out
@raquels63543 жыл бұрын
this tutorial is great but the tutor doesn't explain well. he gets confused many times and can't explain in words cleary what he is doing and why.
@webcifar3 жыл бұрын
Thanks for your feedback.
@rubelbarua99533 жыл бұрын
Too much code
@СахидамСадирова2 жыл бұрын
Ьл
@bineethl26663 жыл бұрын
Kindly clear how can we connect the haveDot to e.target.innertext in this condition -- if (e.target.innertext==='.' &&!have dot) havaDot=true;
@webcifar3 жыл бұрын
if we are clicking do (e.target.innertext) and we don't have a dot yet in out number then add the dot also make have Dot true.
@bineethl26663 жыл бұрын
Hello sir, I convinced with your point thx a lot but my query is how this condition will understand by calculator if( e.target.innertext == '.'(convinced) &&!haveDot (this condition not convinced mean how calculator will know that we dont have dot previously in a number by this condition because we dont mention anywhere haveDot is equal to '.' And We simply considered haveDot is boolean as false ) ) Kindly explain please!!!
@webcifar3 жыл бұрын
@@bineethl2666 Initially the haveDot value is false but when we are clicking the dot if you can see we are changing the value of haveDot to true. Now it means we have the dot inside the number. After that you can't add another dot in the same number because the haveDot is now true. and when we are adding a new number, if you notice we are again changing the havDat value to false so that user can add dot to the new number.
@bineethl26663 жыл бұрын
@@webcifar thnks a lot 👍
@bineethl26663 жыл бұрын
Why we have given haveDot value is false ; we can give it true also and apply condition vice versa;