This page needs to be served over http.
From the project folder run python3 -m http.server and open http://localhost:8000.
python3 -m http.server
http://localhost:8000