This project is ready to be deployed on GitHub Pages. Follow these steps:
- Go to your repository on GitHub
- Click on Settings tab
- Scroll down to Pages section in the left sidebar
- Under Source, select:
- Branch:
main(or your default branch) - Folder:
/ (root)
- Branch:
- Click Save
GitHub will automatically build and deploy your site. This usually takes 1-2 minutes.
Your countdown timer will be available at:
https://[your-username].github.io/[repository-name]/
For this repository:
https://basmulder03.github.io/named-countdown-timer/
To use a custom domain:
- Add a
CNAMEfile in the root with your domain name - Configure your domain's DNS settings to point to GitHub Pages
- Update the GitHub Pages settings to use your custom domain
After deployment, test these features:
- ✅ Create a timer and verify it counts down
- ✅ Share the URL and open it in a new tab/window
- ✅ Generate a short URL using TinyURL
- ✅ Generate a QR code and scan it with your phone
- ✅ Test on mobile devices for responsive design
- Wait 5-10 minutes after enabling GitHub Pages
- Check that the branch and folder are correctly configured
- Verify index.html is in the root directory
- TinyURL and QR Server APIs work without authentication
- Check browser console for any CORS or network errors
- Ensure you're accessing the site via HTTPS
- Verify URL parameters are correctly formatted:
?name=Timer&target=1234567890000 - Check browser console for JavaScript errors
- Ensure the target timestamp is valid (in milliseconds)
To update the site:
- Make changes to your local files
- Commit and push to the main branch
- GitHub Pages will automatically rebuild and deploy
No additional build steps are required as this is a static HTML/CSS/JS project.