You can’t would be the simple answer because you cannot add html into Wix Code at all that way.
If you take a html component and add all of that into that as html it will show and work on your page and expected if you make the .js files accesible from urls and not local file system.
The same goes to your .css file, can load from local path, must be online accessible urls.