Hi @abenaTenkorang
Your code looks great. Here is a suggestion that I think might be useful. Add input validation before sending the player data to the server, it would be useful to validate that the user has entered a name and a score. If the input is invalid, you can show an error message to the user instead of making the fetch request.
Hi @abenaTenkorang Your code looks great. Here is a suggestion that I think might be useful. Add input validation before sending the player data to the server, it would be useful to validate that the user has entered a name and a score. If the input is invalid, you can show an error message to the user instead of making the fetch request.