How do I get a URL to a file inside of a repl HTML5 project? [SOLVED]
Prowse (1)

Is there a way to reference a single file inside my HTML5 project? For example, if I wanted to reuse the JS file, can I reference just the JS file inside the project? I've tried having a script tag reference the project URL, and the project URL followed by the filename, but that doesn't work; the latter gives a 404.

You are viewing a single comment. View All
Answered by Vandesm14 (2168) [earned 5 cycles]
View Answer
Prowse (1)

@Zeune Yes, of course, but I want to maintain individual classes inside of separate projects so that I can reuse them in new projects. I don't want to keep track of 5 versions of a class that have been copied into 5 other projects. I want to centralize these shared files in their own locations and just reference these locations in my other files.