Open DigitalPhoneme opened 2 weeks ago
I actually moved it out completely just too see...and it was throwing that whole handlebutton clicked off. it was not needed bc rest of the logic. I really appreciate the feed back and help
I actually take that back...sorry my bad. so for example if we want 46 instead of 4 and 6 let me get that working .
https://github.com/tanzie1313/dom-events-lab/blob/1de704413308b8099e5a997f9813af15190b2682/app.js#L30
display.innerText = " ";
inhandlebuttonClick
clears the display every time a number button is clicked, causing only the last number clicked to show. Fix: Movedisplay.innerText = " ";
outside of thehandleNumberClick
section so that it only clears on initial load or when an operator is pressed.