From c7b55b06bc72a515f2054416a764e6195c1e03a6 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 11 Apr 2017 16:25:15 -0500 Subject: [PATCH] improve weather app project instructions (#14339) --- .../take-home-interview-projects.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/challenges/08-coding-interview-questions-and-take-home-assignments/take-home-interview-projects.json b/challenges/08-coding-interview-questions-and-take-home-assignments/take-home-interview-projects.json index bf531b203c..a35ee18dd6 100644 --- a/challenges/08-coding-interview-questions-and-take-home-assignments/take-home-interview-projects.json +++ b/challenges/08-coding-interview-questions-and-take-home-assignments/take-home-interview-projects.json @@ -13,7 +13,8 @@ "User Story: I can see the weather in my current location.", "User Story: I can see a different icon or background image (e.g. snowy mountain, hot desert) depending on the weather.", "User Story: I can push a button to toggle between Fahrenheit and Celsius.", - "We recommend using the Open Weather API. This will require creating a free API key. Normally you want to avoid exposing API keys on CodePen, but we haven't been able to find a keyless API for weather.", + "Note: Many internet browsers now require an HTTP Secure (https://) connection to obtain a user's locale via HTML5 Geolocation. For this reason, you will need to choose one of two paths to complete this project:

Use HTML5 Geolocation to get user location and then use the Dark Sky API which uses an HTTP Secure connection for the weather. Also, be sure to connect to CodePen.io via https://.

Or:

Use an Internet Protocol API to get user location (ex. IP-API) and then use the OpenWeatherMap API for the weather. Be sure to connect to CodePen.io via http://.", + "Either weather API service will require creating a free API key. Normally you want to avoid exposing API keys on CodePen, but we haven't been able to find a keyless API for weather.", "Remember to use Read-Search-Ask if you get stuck.", "When you are finished, click the \"I've completed this challenge\" button and include a link to your CodePen.", "You can get feedback on your project by sharing it with your friends on Facebook."