Share your repls and programming experiences

← Back to all posts
My first Html Program
KirikAltekar (197)

This is a simple calculator I made.
Upvote if you liked it!

Commentshotnewtop
realTronsi (174)

Addition doesn't work since the input returns a string, so instead of adding the numbers together, it is concatenating them. It was also be easier if you used eval().

Simply put eval(number + io + number1)

KirikAltekar (197)

Thanks I did not notice @realTronsi! I fixed it.