Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

jacob weber
20,743 PointsMobile Location Prompt
I am not sure if this is the right place for this or not... but worth a shot. I am working on a mobile product locator and a prompt for using the location on your mobile phone (we've all seen 'em). I can get the prompt to load and use the location, but anyone know how i save that variable out and make my search function search off of that? Does that make any sense what I am asking...or am I in the wrong spot entirely. HA. Cheers!
1 Answer

James Barnett
39,199 PointsHTML5 now supports geolocation & local storage. So you should be able to make a reduced test case using something like codepen so we can get a better idea of what you are trying to do.