From 9f35b9d61916f8ea04c46d84d650fe4365adcd33 Mon Sep 17 00:00:00 2001 From: natac13 Date: Fri, 30 Oct 2015 19:13:31 -0400 Subject: [PATCH] added warning about navigator prompt closes #3996 --- seed/challenges/json-apis-and-ajax.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seed/challenges/json-apis-and-ajax.json b/seed/challenges/json-apis-and-ajax.json index 940cb95bdb..6c44cabac4 100644 --- a/seed/challenges/json-apis-and-ajax.json +++ b/seed/challenges/json-apis-and-ajax.json @@ -354,6 +354,8 @@ "description": [ "Another cool thing we can do is access our user's current location. Every browser has a built in navigator that can give us this information.", "The navigator will get our user's current longitude and latitude.", + "You will see a prompt to allow or block this site from knowing your current location. The challenge can be completed either way, as long as the code is correct.", + "By selecting allow you will see the text on the output phone change to your latitude and longitude", "Here's some code that does this:", "if (navigator.geolocation) {", "  navigator.geolocation.getCurrentPosition(function(position) {",