Worried about exposing yourself to unsanitary conditions while dining out in Anchorage? This app lets you quickly and easily locate nearby restaurants with favorable food safety inspection scores.
If changes are made, precompile the template for listing locations thusly:
~$ handlebars templates/* -f js/templates.js
This app is designed to work with your location, and if you're not currently located in Anchorage you won't find nearby restaurants.
To check this app out in the lower 48 states (or elsewhere), you can set a custom location in Chrome that makes your browser think you are in Anchorage.
- Open Chrome Dev tools (on Mac use
option
+command
+I
) - Go to the console tab, and press
esc
to open the console drawer - Select
Sensors
and in theGeolocation
section selectcustom location
from the drop down menu - Enter in a latitude and longitude for Anchorage, AK.
- Refresh the browser window displaying the app.
- Enjoy!