Free code camp portfolio page

Free code camp portfolio page
0

#1


suggestions are appreciated


#2

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!


#3

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.


#4

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


#5

thanks man . Thank u very much


#6

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


#7

can u also tell me why inside $getJSON console.log isnot working . sorry buddy it is still not retreiving data


#8

I can see it working. I added console.log("City : "+city) inside the function call.

Screen Shot 2017-07-07 at 9.27.44 PM


#9

okay thanks buddy

thank you very much