— Like this?
And you can replace if(buyItem1===true) with if(buyItem1) and money = money - item1; could be money -= item1; i think
— Ah ok
— The challenge is calculating which denominations and how many to give back as change
— Because your item1 is an object
— Money - item1
— Ah wait
— You pay 300€