These are the simple instructions on how to deploy a javascript application in github pages, so follow along.
1. Crea a repository and upload the files.
2. While in the repository, click on settings > pages or https://github.com/[USER]/[REPO_NAME]/settings/pages
3. Under Branch, select main, /(root) and click save
4. That didn't work, sorry.