issues
search
BenjaminSemah
/
leaderboard
The Happy Devs Leaderboard allows users to submit their scores. The app then ranks them from highest scores to the lowest.
https://devs-leaderboad.netlify.app/
3
stars
0
forks
source link
Leaderboard: Hit the API
#2
Closed
BenjaminSemah
closed
2 years ago
BenjaminSemah
commented
2 years ago
Leaderboard - Hit the API
In this branch, I have done the following;
Create a new game following guidelines from the Leaderboard API documentation,
Implemented the "Refresh" button (to receive data from the API and parse the JSON),
Implemented the form "Submit" button (to send user scores data to the API),
Used
async
and
await
JavaScript features to consume the API.
BenjaminSemah
commented
2 years ago
All Required Changes has been Implemented.
I have implemented the following changes pointed out by first Code Reviewer;
Changed functions to ES6 using arrow function syntax.
Added validation to ensure user score input is a number.
Leaderboard - Hit the API
In this branch, I have done the following;
async
andawait
JavaScript features to consume the API.