I made a website based on a tutorial.
I have pushed the file to GitHub so that it can be viewed on the web.
The site is https://gouehara.github.io/notes-app/.
You can browse the index.html page, but if you click the create note button using the Location.assign()
method in JavaScript, you should be transitioning to https://gouehara.github.io/edit.html#...., but you get an error message.
When viewing on a local host using live-server, the transition is successful.
Why does GitHub not transition well?
Incidentally, the error message is "make sure that the filename case matches the URL".
Thank you for your cooperation.
javascript github-pages
If you specify a file in the format /edit.html
, edit.html
is located directly under the root of the URL, that is, https://gouehara.github.io/edit.html.However, edit.html
is actually
https://gouehara.github.io/notes-app/edit.html results in an error stating that the file does not exist in that location as indicated in the questionnaire.
If you want to specify it as a route-facing path, correcting the /notes-app/edit.html
and the path will solve the questioner's problem.
856 Uncaught (inpromise) Error on Electron: An object could not be cloned
776 M2 Mac fails to install rbenv install 3.1.3 due to errors
1235 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
771 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2025 OneMinuteCode. All rights reserved.