The demo for the Local Weather App on CodePen works (because of HTTPS requirements for CodePen now).
I was able to complete the task using browser geolocation and Yahoo Weather so it all works in CodePen. https://codepen.io/joshmorel/full/KqxXqg/
I was thinking of making a pull request - but wasn’t sure exactly where or even if I should.
Any thoughts or feedback on completed work?
Thanks!
Josh
I don’t understand what you’re saying here. What would you make a pull request on?
Oh just the instructions in freeCodeCamp for the challenge:
If this is stored in a database, then there’s nothing to do but contact the maintainers, but if it’s stored in the repo then a PR could be made to replace example with one that works over HTTPS (could be mind, or a better example, but one that works at least).
This line:
Objective: Build a CodePen.io app that is functionally similar to this: http://codepen.io/FreeCodeCamp/full/bELRjV .
Ooooooh, I see. I was confused.
There’s already an open issue on the matter, but you can offer your code up as a possible solution.
opened 03:21PM - 05 Jul 17 UTC
closed 05:43PM - 15 Jul 17 UTC
help wanted
#### Challenge Name
[Show the local weather](https://www.freecodecamp.com/chall… enges/show-the-local-weather)
#### Issue Description
Currently this project has at least two major problems:
1) It recommends more than one API. We should just have a single API that reliably works on CodePen
2) It suggests putting private keys in a visible place on Codepen. This is an anti-pattern.
Here's what I propose we do. We build a Glitch.com app that serves as an API. The Glitch App can then reach out to the Dark Sky (or whatever API works best) on the user's behalf and pass back the data.
This way, the keys are obscured, and the user has a simplified API they can interact with. There's no need for them to shop around for APIs or worry about security issues with CodePen.
We have already done something like this with our [Twitch.tv challenge](https://www.freecodecamp.org/challenges/use-the-twitchtv-json-api).
1 Like