Tell us what’s happening:
Your calculateTaxes method should return the value of the taxRate (divided by 100, to convert it to a percent) multiplied by the amount parameter.
For clarity, wrap the taxRate / 100 calculation in parentheses.
i need assistance
Your code so far
<!-- file: index.html -->
/* file: script.js */
// User Editable Region
calculateTaxes(amount) {
(taxRate / 100) * amount
}
// User Editable Region
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Challenge Information:
Learn Basic OOP by Building a Shopping Cart - Step 45