You have Typo in your code
The function you have defined in js.js file is clacDollar
And the function you are calling in 6.html is calcDollar
solved Uncaught ReferenceError: calcDollar is not defined
You have Typo in your code
The function you have defined in js.js file is clacDollar
And the function you are calling in 6.html is calcDollar
solved Uncaught ReferenceError: calcDollar is not defined