Methods for implementing a product card, as in the example?
Greetings to all! Please tell me in what ways (preferably the most simple), you can implement the functionality of the product card, as in the example https: //xn----8sbnmcidde2b.xn--80adxhks/#catalog So that when you click on the size, the price changes, and when you click on the Order button, you need the product and size in the ordering process? Can someone share a link to the material on this issue ..
Handle onmusedown events on objects. And change themAnonymous
I don't think it's the best option, but you can do it like this:
To place the code, please use CodePen or similar tool. Thanks you!