Build a Shopping Cart - Step 47

Tell us what’s happening:

I need to pass the whole calculation, excluding return to parseFloat(), but I can’t figure out how. Please help.

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

  calculateTaxes(amount) {
    return (((this.taxRate / 100) * amount).toFixed(2)).parseFloat()
  }

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36

Challenge Information:

Build a Shopping Cart - Step 47

Nvr mind, I solved it!

“pass to” usually means “give as argument”