I’m putting some finishing touches on my calculator project. Overall I’m quite happy with it, but there are a couple things I was having trouble with/ wanted to ask about.
I enclosed my calculator in it’s on container div. At some point, (can’t remember when exactly) it disappeared. I’m trying to add a drop shadow to this to make it pop a bit from the page, however my css for this isn’t appearing.
I want to make sure I understood the user story correct for chaining operations. Lets say you wanted to calculate 2+42. With my calc you would enter the 2+4 and when you pressed * it would sum, then allow you to multiply this by 2; for an answer of 12. Is this ok, or are you supposed to be able to enter the entire operation 2+42, and it would then deal with proper order of operations and give an answer of 10?
I’m having some trouble with large digits staying on screen. I’ve coded things so that a user cannot enter a number larger than 9 digits to help combat this. However if you were to continue multiplying a number up eventually the equation and answer start to run outside of the div. How could I prevent this?