Oct 13, 201812:41 AM - edited Oct 14, 201810:48 PM
Member
Please Help - wanting to create an automatic Confetti Explosion in html for my Wix site.
Hi Everyone 🙂
I am in the middle of creating an e-commerce store and would love to add a little something special to my check out page.
I was thinking about an explosion of confetti, or glitter or something similar would be nice. However, I would like it to look elegant and tasteful. I don't mind something like this ....
I just have no idea how to put it into HTML l format for my WIX site.
I found this from https://daniel-lundin.github.io/react-dom-confetti -but I know it is missing something major to make it work........ and I dont like that you have to press a button to make it work, I would prefer it to be automatic.
Please Help - wanting to create an automatic Confetti Explosion in html for my Wix site.
@kirstend - I don't think your wix website is built using reactjs, but, if it is, according to the documentation (This component will trigger a confetti explosion every time the prop active goes from a falsy to truthy value.)
So, all you have to do is change the active to true and it will happen on page load:
I really like this but I have no idea what to add to it to make it work. I also have no idea how to add a component to make it truthy? I don't even know what that means.
I know it's pathetic but I'm such a newbie with coding and it's really frustrating me.
Do you know what I need to add to the above code to make it work on my page?
Please Help - wanting to create an automatic Confetti Explosion in html for my Wix site.
Hi Roisinkirby
Thank you for your reply!
I certainly can , but the page is the checkout page of my site so I dont think i can link it...I have taken a screen shot though of the page, i just feel it looks so boring and really want to spice it up a little by adding something quirky.
I have also added the URL of my checkout page on my WIX account - I'm not sure if you'll be able to view it though but i'll attach both 🙂