Why is my weather project not working on tablet?

Hi coders,

I have finished my weather project, but when I try to access it on tablet through both safari and chrome it doesn’t work as it does on a desktop. The location, weather icon and temperature are all not appearing and the button also doesn’t work (probably as a result of the lack of temperature).

Any feedback would be appreciated as I’ve not encountered problems on mobile devices thus far.

It’s probably related to GeoLocation services//Privacy settings on the Tablet… preventing the API from guesstimating your location.

Check the Settings/Preferences on your tablet Privacy settings.

Your comment made me realise although I enabled tracking on the safari options, I also needed to enable it for the whole tablet and so now it is working. Thanks for your help.