Learn Basic OOP by Building a Shopping Cart - Step 34

Tell us what’s happening:

I don’t know where to place the forEach method, if I should place it after the addToCartBtns.

Your code so far

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

/* file: styles.css */

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

[...addToCartBtns].forEach;

// 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/127.0.0.0 Safari/537.36

Challenge Information:

Learn Basic OOP by Building a Shopping Cart - Step 34

You missed something right after forEach to make it a valid method call.
Do you know what is it?

I got it, it was a fundamental error.