Hello, Agata! 👋
Congrats on finishing another challenge! 🎉 Your solution looks very good and also responds well. I really like the idea with tutorial displaying in modal. Hover effect on keys when user input from directly from keyboard is also a nice touch! Here's my few tips:
- After division by zero error pop up your calculator doesn't reset and I can to this error add next value - for example: 100 / 0 = not allowed, and then I click + 10 and it display NaN+10. It should either reset or take 0 as a "previous value".
- One additional function that you can add is to perform last operation again. For example 2+2=4 and another click on equal button will be 6 since result our previous equation was 4 and our last input was 2 so 4+2=6.
Good luck with that, have fun coding! 💪
@AgataLiberska
Posted
@tediko ah you're absolutely right, I'll correct it! And as for extra functionalities, I'll take a little break from this challenge now but definitely will look into adding this, sounds like a nice challenge :)
@AgataLiberska I've done this solution recently too and to be honest there's always something that you could add so don't feel like you have to, it was just an idea! ;)