# Calculator project

**URL:** <https://forum.freecodecamp.org/t/calculator-project/9858>\
**Category:** I Built This\
**Created:** [June 11, 2016, 2:59am UTC](https://forum.freecodecamp.org/t/calculator-project/9858 "2016-06-11T02:59:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Selhar1](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/selhar1/32/104025_2.png) [@Selhar1](https://forum.freecodecamp.org/u/Selhar1)\
**Post date:** [June 11, 2016, 2:59am UTC](https://forum.freecodecamp.org/t/calculator-project/9858/1 "2016-06-11T02:59:22Z")

</div>

Hey, just finished the Javascript calculator project and i’d like to get some feedback, specially on the javascript code. Thanks a lot.

Here is the link [http://codepen.io/Selhar/full/dXoByL](http://codepen.io/Selhar/full/dXoByL)

You can use either the mouse or keyboard.

---

<div class="post-metadata">

**Author:** ![PortableStick](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/portablestick/32/65591_2.png) [@PortableStick](https://forum.freecodecamp.org/u/PortableStick)\
**Post date:** [June 15, 2016, 5:24pm UTC](https://forum.freecodecamp.org/t/calculator-project/9858/2 "2016-06-15T17:24:51Z")

</div>

Looks great. I noticed a bug - when I type in an operator, and then clear it with `C` or `<`, I’m not able to input another operator until I hit `=`.

---

<div class="post-metadata">

**Author:** ![twmilli](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/twmilli/32/3187_2.png) [@twmilli](https://forum.freecodecamp.org/u/twmilli)\
**Post date:** [June 15, 2016, 8:09pm UTC](https://forum.freecodecamp.org/t/calculator-project/9858/3 "2016-06-15T20:09:51Z")

</div>

I love the nice clean design! Just out of curiosity have you heard of the eval() function in javascript. here’s a [link](http://www.w3schools.com/jsref/jsref_eval.asp). Might have done a lot to simplify your code and save you some time as well.

---

<div class="post-metadata">

**Author:** ![Selhar1](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/selhar1/32/104025_2.png) [@Selhar1](https://forum.freecodecamp.org/u/Selhar1)\
**Post date:** [June 16, 2016, 5:58am UTC](https://forum.freecodecamp.org/t/calculator-project/9858/4 "2016-06-16T05:58:19Z")

</div>

Thanks a lot for your feedback! I’ll fix it when i wake up tomorrow, it’s probably the operator counter not being properly cleared after C or \<

---

<div class="post-metadata">

**Author:** ![Selhar1](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/selhar1/32/104025_2.png) [@Selhar1](https://forum.freecodecamp.org/u/Selhar1)\
**Post date:** [June 16, 2016, 5:58am UTC](https://forum.freecodecamp.org/t/calculator-project/9858/5 "2016-06-16T05:58:57Z")

</div>

Thanks a lot! And no i hadn’t hadn’t heard of it before, i’ll surely take a look.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:11pm UTC](https://forum.freecodecamp.org/t/calculator-project/9858/6 "2021-06-01T18:11:49Z")

</div>

Closed on June 1, 2021, 6:11pm UTC


