I created a new game with the name of your choice by using the API.
ID saved of my game that will be returned by API.
The "Refresh" button is implemented that will get all scores for a game created by you from the API (receiving data from the API and parsing the JSON).
The form "Submit" button is Implemented that will save a score for a game created by you (sending data to the API).
I used arrow functions instead of the function keyword.
I used async and await JavaScript features to consume the API.
Hi team ,