(View Raw will give you the markdown that you can copy to your repos!)
Duration: 2 day Sprint
This server-side calculator allows users to enter a math problem and returns a solution. The computation is done on the server-side and returned to the user to be displayed.
One of the many challenges I faced while building this app was figuring out how to allow users to input numbers and a math operator in the text field only using the buttons. To access the value for each button, I assigned either a data-op or a data-number attribute to their corresponding button. Then their value are push into an array and added to the text input value attribute.
- Open up your editor of choice and install express and body-parser in terminal by running
npm install insert_module - Open your browser and type in locolhost:3000 to view calculator
- HTML
- CSS
- JavaScript
- JQuery
Note, include this only if you have a license file. GitHub will generate one for you if you want!
Thanks to Prime Digital Academy who equipped and helped me to make this application a reality. (Thank your people)
If you have suggestions or issues, please email me at Alhousseinec@gmail.com

