You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that you do have user input validation if there is no user input. Well done!
You should also add some validation for the case that a user types in some nonsense or a city that's not handled in the API. For example, in a dedicated data file, you could set up an array with all cities that can be handled and then check if the user input does exist in that array.
The text was updated successfully, but these errors were encountered:
I've noticed that you do have user input validation if there is no user input. Well done!
You should also add some validation for the case that a user types in some nonsense or a city that's not handled in the API. For example, in a dedicated data file, you could set up an array with all cities that can be handled and then check if the user input does exist in that array.
The text was updated successfully, but these errors were encountered: