Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No validation for wrong user input #34

Open
LaLeonie opened this issue Nov 29, 2019 · 0 comments
Open

No validation for wrong user input #34

LaLeonie opened this issue Nov 29, 2019 · 0 comments
Assignees

Comments

@LaLeonie
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants