Skip to content

Alcamara/weekend-jquery-server-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(View Raw will give you the markdown that you can copy to your repos!)

MIT LICENSE REPO SIZE TOP_LANGUAGE FORKS

Weekend jQuery Server Calculator

Description

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.

Screen Shot

Calculator Calculator

Prerequisites

Installation

  1. Open up your editor of choice and install express and body-parser in terminal by running npm install insert_module
  2. Open your browser and type in locolhost:3000 to view calculator

Built With

  • HTML
  • CSS
  • JavaScript
  • JQuery

License

MIT

Note, include this only if you have a license file. GitHub will generate one for you if you want!

Acknowledgement

Thanks to Prime Digital Academy who equipped and helped me to make this application a reality. (Thank your people)

Support

If you have suggestions or issues, please email me at Alhousseinec@gmail.com

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors