Debug JavaScript in Console for calculating one sum and detecting browser language preference

Job ID: 35169475

Budget: $10 – $30 USD

I have a html page with JavaScript that is placed in header and footer (that user inputs a number and calculates a sum) for English and French.

The English works well. http://digexart.com/tests/english.html
The French translation does not and needs to work like the English. I would like to have two things looked at and fixed. http://digexart.com/tests/french.html 
 
1.       Use English to Debug JS so the translation works according to browser language preference
2.       Set a total limit of 15 digits that can be input by user to calculate sum.
 
I will chat only with Freelancers I select.
Must know and have excellent understanding of JavaScript, HTML5, Drupal9, Google Chrome Console
 
Only experienced Freelances will be selected to chat

* I will supply the JavaScript and any other files needed in the chat.
Related categories: JavaScript Drupal HTML5 Google Chrome