I need to handle for when a user presses enter and there is no input given. For some reason if gives the weather for the location Xylotymbou, which is located somewhere in Cyprus.
I need to identify that the search box is empty, then send an alert about this to the user to enter an actual location. Otherwise if the box isnt empty, call the function to search for the data.
I need to handle for when a user presses enter and there is no input given. For some reason if gives the weather for the location Xylotymbou, which is located somewhere in Cyprus.
I need to identify that the search box is empty, then send an alert about this to the user to enter an actual location. Otherwise if the box isnt empty, call the function to search for the data.