Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
Dylan
@dhcodes
yeah, i'm not sure there's a good way to convert it from xml though
idk why it isn't giving json since you request that in the format
Will Kempster
@kempsterrrr
yeah it's really weird, I actually think it is returning JSON but /**/( is appended to the start of the file so you can't use JSON.parse
never seen that before
Just tried it on my weather app and the /**/( is not there
Stephen James
@sjames1958gm
@WilliamFace Can you save your codepen page, I'd like to take a look at the latest.
Dylan
@dhcodes
@WilliamFace yeah but if you console.log(request.responseText) it is definitely xml
Will Kempster
@kempsterrrr
@sjames1958gm here you go https://codepen.io/dilliam/pen/rLbxZV
Leena
@leena-d
can someone help me?
Dylan
@dhcodes
we can try
what's up
Leena
@leena-d
i can't figure out how to change the colors of my navbar. any help is greatly appreciated
https://codepen.io/leena-d/pen/kXmzNN
Dylan
@dhcodes
@leena-d you have set the background-color to black
Stephen James
@sjames1958gm
@WilliamFace Since you are using that proxy URL - remove callback=? and change format back to json.
Dylan
@dhcodes
do you mean the hover states @leena-d
Will Kempster
@kempsterrrr
@sjames1958gm YES!
Stephen James
@sjames1958gm
@WilliamFace - console.log(searchObj.response);
Dylan
@dhcodes
@sjames1958gm do you know what was causing that?
i'm curious
Will Kempster
@kempsterrrr
me too
oddly it still wont parse to a JSON object.... searchObj = JSON.parse(request.responseText); is still not working
Stephen James
@sjames1958gm
When I entered that URL without the crossorigin proxy into my browser it was giving back html page. when i changed it back to json it appeared the response was the JSONP callback code
/**/ - I am not sure but the jsonp I have seen starts with /**/ but not sure.
@WilliamFace JSON.parse(request.response)
Will Kempster
@kempsterrrr
I think the format in the URL was wrong so it was reverting back to it's default
CamperBot
@camperbot
williamface sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
Will Kempster
@kempsterrrr
@sjames1958gm that parse worked, thanks.
CamperBot
@camperbot
:star2: 2776 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
Dylan
@dhcodes
cool
i'm out happy coding
Stephen James
@sjames1958gm
@WilliamFace :+1:
Will Kempster
@kempsterrrr
Cheers @dhcodes
@sjames1958gm not sure why parse wont work to assign the searchObj with that value thought. Maybe I am getting scope wrong or maybe just a typo somewhere
*though
Leena
@leena-d
@dhcodes i mean the active and hover states
Stephen James
@sjames1958gm
@WilliamFace Not sure what you mean
Rony
@Rony126
I have arrived to the build a Tribute Page and should I use the same font family and size that are used in the example project ?
Stephen James
@sjames1958gm
@Rony126 Use whatever you want.
Will Kempster
@kempsterrrr
@sjames1958gm GOT IT. THANK GOD. I'd set the searchObj globally as an object when what is being returned by the API is an array
CamperBot
@camperbot
williamface sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:warning: williamface already gave sjames1958gm points
Rony
@Rony126
Alright thanks @sjames1958gm
CamperBot
@camperbot
rony126 sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 2777 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
Stephen James
@sjames1958gm
@WilliamFace YAY!
Will Kempster
@kempsterrrr
hahaha
only about an hou after I should have gone to sleep for work tomorrow :smile:
Rony
@Rony126
So I can write about anyone I want basically?
Will Kempster
@kempsterrrr
@Rony126 yes, probably keep it friendly though :smile:
Rony
@Rony126
Lol yes, I will write theirs since it is easier
Zacch McKinney
@ZacchMckinney
Can someone help me please? I am having trouble with text on my tribute page. It jumps out of the container at different screen sizes and My footer realigns up to the right of the body text. Well, in code pen at least it does...