Are you trying to make the project run in browser? If so, then you should compile it into either a HTML or zip file.
PLEAASE tell me how do i turn a sb3 file into a html file or a zip file
I recommend TurboWarp Packager!
thank u