- Download the entire code
- Open up the index.html.
- HTML
- CSS [style/Presentation]
- Javascript [Logic/Working of calculator]
You can also just click here to check out its working
Steps:
-
Click on the microphone icon to initialise recording
-
Your Browser might ask you to allow permission for microphone access, Click on Allow. If it doesn't then go to step 4
-
Say the Number Clearly followed by operator and then again another Number
-
Wait for a couple of seconds, The input and result will be printed on the Console of virtual Calculator
A few Examples :
5 multiply 6 2 plus 102 3 minus 1 100 multiply 10 20 percent 3 20 remainder 6, etc.
Special credit to Abarna