While working on my pokedex project using HTML, CSS, and JavaScript, I encountered an issue. When I try to open the project in VSCODE, everything works perfectly fine. However, when attempting to open the HTML file locally in a browser, it fails to find two local files with the following error messages:
file:///C:/assets/js/poke-api.js net::ERR_FILE_NOT_FOUND GET file:///C:/assets/js/main.js net::ERR_FILE_NOT_FOUND
It is puzzling that the files are functional when accessed through VSCODE.
https://github.com/joaogabriel1902/Pokedex-Challenge - Feel free to check out the code here.
I attempted to troubleshoot by uninstalling some extensions but unfortunately, the issue persists. The browser still cannot locate the necessary files.