I jumped into this one not really sure which way I wanted to take it. I looked at other peoples code for their calculator projects and honestly some of it just went over my head. I wanted to see how far I could get by structuring the JS on my own.
How efficient is my JS? I didn’t plan on using one giant if/else statement but the farther I went it just made the most sense to me. Basically for each click of a button, I would take the value of that button and push it into a single string and then use eval() on that string to get the answer. I would appreciate any tips to make it better!