Show the the local weather - Problem with OpenWeatherMap

It also depends on browser. On some browsers codepen has a secured connection, on others it does not. If you do use a secured connection for your project (so you can use geolocation), you can send openweahtermap through a cors proxy like this crossorigin.me - This website is for sale! - crossorigin Resources and Information.