A simple JavaScript app that keeps tracks of leader board scores using a Leaderboard API. Send a POST request to the API, this generates an ID that's stored in the browser's local storage. Use the ID as part of a fetch URL to add scores and also display these scores. Use async wait JavaScript to call a function after a promise is resolved.
What is the inspecta/Leaderboard GitHub project? Description: "A simple JavaScript app that keeps tracks of leader board scores using a Leaderboard API. Send a POST request to the API, this generates an ID that's stored in the browser's local storage. Use the ID as part of a fetch URL to add scores and also display these scores. Use async wait JavaScript to call a function after a promise is resolved.". Written in JavaScript. Explain what it does, its main use cases, key features, and who would benefit from using it.
Question is copied to clipboard — paste it after the AI opens.
Clone via HTTPS
Clone via SSH
Download ZIP
Download master.zipReport bugs or request features on the Leaderboard issue tracker:
Open GitHub Issues