A calculator that runs in the console using JavaScript with Node.js. The calculator has arithmetic and vowel counting modes.
- JavaScript
- Node.js
- Refresh skills in JavaScript with Node.js
- Utilise JavaScript to calculate arithmetic operations and count vowels in a string provided by the user.
- Scripts are separated into different modules that perform separate functions.
- Input data type is validated. If the user enters invalid input, the user is prompted again until a valid input is entered.
- Visit a demo here.
- Click the green button to run the code.
- Enter 1 or 2 to select the desired mode.
- Follow the instructions provided to perform calculations.
- The final result will be printed in the terminal!
If you would like to contribute code, identify bugs, or propose improvements, please fork this repository and submit a pull request with your suggestions. Below are some helpful links to help you get started: