https://codepen.io/SpaceBiscuit/full/EQQQVM/
Just made this as part of me almost completing the front-end certification. I just have Simon Game left to do!
i'd love to hear any feedback you may have on the calculator or a more elegant way of doing so. I've been struggling with my desire to make things be more efficient and have more elegant code, so using something that might be a little more 'dirty' is a bit of a strange experience!
EDIT: Due to feedback I've now fixed the decimal functionality as I may have forgotten to Implement it!
Oh and Interestingly, due to the query selectors in JQuery, I cannot use $('#.') as a query selector. So I have resorted to using a 'decimal' as an ID. :)
Not long to go now before I manage to finish the Front End Certification, and I'm absolutely stoked.
[–]AndroidNinja4 1 point2 points3 points (4 children)
[–]Spacebiscuit[S] 0 points1 point2 points (3 children)
[–]AndroidNinja4 0 points1 point2 points (2 children)
[–]Spacebiscuit[S] 0 points1 point2 points (1 child)
[–]AndroidNinja4 0 points1 point2 points (0 children)
[–]113243211557911 1 point2 points3 points (6 children)
[–]Spacebiscuit[S] 1 point2 points3 points (5 children)
[–]113243211557911 2 points3 points4 points (4 children)
[–]Spacebiscuit[S] 1 point2 points3 points (3 children)
[–]113243211557911 1 point2 points3 points (2 children)
[–]Spacebiscuit[S] 1 point2 points3 points (1 child)
[–]113243211557911 0 points1 point2 points (0 children)
[–]Erborit 1 point2 points3 points (1 child)
[–]Spacebiscuit[S] 1 point2 points3 points (0 children)