Skip to content

No validation for wrong user input  #34

Description

@LaLeonie

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions