'Notepad' app not working

I’m working on an OS Building Simulator. It’s not finished yet. What my problem is? The app cards I have are supposed to split into “Open” and “Uninstall” buttons when “Install” is clicked. However, the Notepad app is malfunctioning. When I click “open” on its card, it takes me to Replit authentication, like I want it to. However, after I auth, it takes me to the app’s home page, yet still showing the Replit Auth and won’t take me to the actual page’s content. All other apps are doing fine; what happened to Notepad?

This is a work in progress; I have not officially released this yet. I am only making it public for inquiry purposes.

Notepad pages:
https://replit.com/@UtkMcpe78/Padblocker-OS-Building-Simulator#main/sim/notepad/home.html

https://replit.com/@UtkMcpe78/Padblocker-OS-Building-Simulator#main/sim/notepad.html