How do I confirm a product is added to my cart using vanilla js?

Hi guys,

How to know if my product is successfully got added to my cart after I click “add to cart”? Does this have to do with POST request? If so, how that code get executed with vanilla js. Thank you :raising_hands:t3: