suggestions are appreciated
Pranav!
Great job on the portfolio! I really liked how your linked your actual projects into this page. Most of the ones I see are just images that don’t lead to anywhere.
One thing I would recommend is to find some way to incorporate your image-links into the theme of your website. They are different sizes and I think they clashed with the rest of your site.
Otherwise good job and keep doing great things!
Stefan!
thanks . i am facing a problem related to weather app . i don’t know why console.log is not working in get.JSON and my function(data) in get json is also not retreiving data . pls help.
Hi:
Actually you call to API gets caught into Cross Origin Policy. That is, call to http(api) over https (Codepen). A work around is to prepend the “https://cors-anywhere.herokuapp.com/” to the api call. I have made the change in you code to test this and it works fine.
PS : The solution is mentioned here too : https://github.com/freeCodeCamp/freeCodeCamp/issues/8214#issuecomment-307546996
regards
Devinder
thanks man . Thank u very much
buddy i can’t find any change. well i tried and my api is getting this error :Missing required request header. Must specify one of: origin,x-requested-with
can u also tell me why inside $getJSON console.log isnot working . sorry buddy it is still not retreiving data
I can see it working. I added console.log("City : "+city) inside the function call.
okay thanks buddy
thank you very much