Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialjsdevtom
16,963 PointsPlease give critic on my calculator that I've built :-)
Here is the link: http://codepen.io/1db8k/pen/JXvOdv
Please tell me what I could do better, as well as what is good and if it has bugs that I haven't found yet.
2 Answers
Tushar Singh
Courses Plus Student 8,692 PointsfreeCodeCamp me too :P
Your calculator is better than mine http://codepen.io/tushar_13/full/LNQGRx/
Kent Åsvang
18,823 PointsIf i do calculation with large numbers, the first numbers disappear beyond the display. Other than that it works just great. Personally I miss being able to use my numpad, might be an idea to implement that as well.
Other than that it is a goodlookin´piece of calculator that works fine. Good job
jsdevtom
16,963 PointsThank you! I will definitely look in to adding number pad functionality! I was considering allowing scroll on the screen for large numbers but decided not to. Now that you've brought it up however, I see that it is a useful feature. Thanks again :-)
Tushar Singh
Courses Plus Student 8,692 PointsI should add that as well, good idea. Thanks! I think both these features can easily be done.
1) restrict the length
2) I think we can use if a particular keyword is pressed and deal with it
jsdevtom
16,963 PointsSo I updated it so that it scrolls and so that you can use the numbers pad. What do you think? codepen
Kristopher Van Sant
Courses Plus Student 18,830 PointsKristopher Van Sant
Courses Plus Student 18,830 PointsThey're both great! :) I love that y'all both did this calculator yet the overall looks and designs are totally different. Very cool!
jsdevtom
16,963 Pointsjsdevtom
16,963 PointsYour design is awesome! It's cool that you use freeCodeCamp as well!
+Kristopher Van Sant - Thanks :-)
Tushar Singh
Courses Plus Student 8,692 PointsTushar Singh
Courses Plus Student 8,692 PointsThanks, right now I am working with tic-tac-toe and it's really really really and 1 more really hard ;/. I din't think just building a simple game would be that much difficult. But now I have so much respect for people actually building such complicated games lol.