I have an embedded HTML display on one of my pages. I’m editing the code to display an oracle deck simulation where you select overturned cards and they flip over. Refer to video below for what it currently works like.
I have the .js files used outside of Wix and I copied them over to newly created js files under the Public heading. I changed the code to reference “public/###.js”
I’m new to this so a lot may go over my head. Hopefully I didn’t miss something crucial to say. Thanks for your time!
It wouldn’t let me Publish the question with the video attachment.
It’s very difficult with the video as a lot of information is presented much too fast for me to be able to follow. However…
I was able to see that there are a number of errors flagged in your code. Corvid is Javascript, not HTML. You will need to conform to the Corvid coding guidelines . The page’s code panel, and the code pages in Public (as well as Backend) only support Javascript. Trying to embed HTML will result in the errors that you have flagged.
One possibility is that you might be able to use the CustomElement . It is currently not available in all regions. Check and see if you can add it to your project.