Methods for implementing a product card, as in the example?

  • 0
    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 ..
    Thank you in advance!
    JavaScript Anonymous, Apr 11, 2019

  • 2 Answers
  • 0
    Handle onmusedown events on objects. And change them
    Anonymous

  • 0
    I don't think it's the best option, but you can do it like this:



    https://codepen.io/5dc8b3/pen/JjKZgap
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!