Hey, OP here! Wow, thanks for all the replies—didn’t expect so many solutions!
I tried the FileReader approach and it worked perfectly. Didn’t realize browsers had those security limits for local files.
Quick follow-up: If I *do* use a local server (like Live Server), can I then use fetch() with relative paths, or do I still need full paths?
Thanks again, y’all are legends! 😊
I tried the FileReader approach and it worked perfectly. Didn’t realize browsers had those security limits for local files.
Quick follow-up: If I *do* use a local server (like Live Server), can I then use fetch() with relative paths, or do I still need full paths?
Thanks again, y’all are legends! 😊
