to set up a local server: https://github.com/processing/p5.js/wiki/Local-server i reccommend the node server
in the terminal type npm install -g http-server
once that has installed navigate the termnial to inside the /src/
in this project and run
http-server
. this will start a server instance at http://localhost:8080/
in your browser