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
Maulik Darji
@maulikdarji
try reseting the key
Joshua McKenzie
@mckenzieja
Ok I just reset and copy pasted
still nothing.
Im gonna call it a night.
3am here.
Thanks for trying @maulikdarji
CamperBot
@camperbot
metaljacke1 sends brownie points to @maulikdarji :sparkles: :thumbsup: :sparkles:
:star: 512 | @maulikdarji | http://www.freecodecamp.com/maulikdarji
anthonygallina1
@anthonygallina1
@metaljacke1 have you tried "lat"+"lon"+"api";
Bruce Young
@mutantspore
@metaljacke1 here is your error fixed. you had an & instead of a ? for the first of the parameters.
var apiurl = "http://api.openweathermap.org/data/2.5/weather?lat="+lat+"&lon="+lon+api;
it works now
Bruce Young
@mutantspore
@metaljacke1 however if you do it this way with the data listed out in an object, you don’t have to worrry about the & and ? as it’s done for you. See the fork of your pen below.
http://codepen.io/MutantSpore/pen/WwNJBP?editors=1010
anthonygallina1
@anthonygallina1
@mutantspore mine was wrong to but was try to lead in a direction @metaljacke1
@mutantspore I think he will do much better after he gets data thank you @mutantspore
CamperBot
@camperbot
anthonygallina1 sends brownie points to @mutantspore and @mutantspore :sparkles: :thumbsup: :sparkles:
:star: 1182 | @mutantspore | http://www.freecodecamp.com/mutantspore
:star: 1182 | @mutantspore | http://www.freecodecamp.com/mutantspore
Jesus Vega
@ParagonChuy
Can somebody help me with getting the Quote Generator to work?
Bruce Young
@mutantspore
@ParagonChuy go for it
Jesus Vega
@ParagonChuy
I'm trying to use the Quotes on Design API , but have little to no idea on how to parse the JSON data .
Bruce Young
@mutantspore
well did you get something back and then log it to the console console.log(data); so you can see the structure of it.
do you have a pen?
Jesus Vega
@ParagonChuy
I'm reading the documentation but I feel it is very vague
And I'm on Jsfiddle currently
Bruce Young
@mutantspore
well? i neeed to see something.. fiddle… docs?
Jesus Vega
@ParagonChuy
That's what I'm reading and trying to make sense of
Bruce Young
@mutantspore
well the bit at the bottom.. the codepen example … if you click on the JS tab it shows you exactly what to do
just make sure you add in jQuery
Edward Hong
@edward-hong

Hi I'm having trouble getting access to the Wikipedia API here's my code

    $.ajax({
            url: 'https://en.wikipedia.org/w/api.php?action=query&list=search&format=json&srsearch=' + $('#search-entry').val(),
            dataType: 'json',
            type: 'POST',
            headers: { 'Api-User-Agent': 'Example/1.0' },
            success: function(data) {
                console.log(data);
            }
    });

I keep getting "XMLHttpRequest cannot load https://en.wikipedia.org/w/api.php?action=query&list=search&format=json&srsearch=hello. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access." on the console in Chrome dev tools. Is it because I'm loading a local html file?

Bruce Young
@mutantspore
@edward-hong addin &callback=? to the url
Oliver Webb
@Ollie15
try it with target="_blank"
@edward-hong
Edward Hong
@edward-hong
thanks @mutantspore it worked
CamperBot
@camperbot
edward-hong sends brownie points to @mutantspore :sparkles: :thumbsup: :sparkles:
:star: 1183 | @mutantspore | http://www.freecodecamp.com/mutantspore
Oliver Webb
@Ollie15

Hello I am trying to put text over an image, how would I do this? thanks.

http://codepen.io/Olliewe88/pen/WrBVPw

Pynman
@Pynman
Suggest best editor software similar to FCC txt editor (windows)
Hemang Kumar
@hemangsk
@pynman Atom, Sublime Text
Hemang Kumar
@hemangsk
@Boomybiscuit45 One way is that you can make a <div> and then use the image as background-image of that div and write the desired text inside <div>
Ngoc Chi Vo
@nchivo101
@pynman vim :D
Brian Kilrain
@bkilrain

Hello kind people… I’ve been banging my head against the wall with my random quote generator. I’ve lurked around this chat and tried to follow advice for other folks having problems… I’ve checked out blogs/books/youtube tutorials/etc… I’ve poured myself large glasses of whiskey and shook my fist in the air while yelling obscenities. Nothing has worked.

My main goal right now is to get the api working properly… then I’ll build the site around that. I am evidently missing something. Here is my latest failed incantation… but I’ve tried the .getJSON method too, as prescribed in the FCC lesson.

So - my fellow campers - I implore you. Please provide me with a resource that can walk me through this process. My mind is slow from all the whiskey… so if it is written in the language an eight-year-old could understand, all the better.

I really don’t want to copy, or even look at, someone else’s code… I want to understand this organically. But my will is weak. HELP!!! OTL

sigursiguros
@sigursiguros
dear campers my clock is not working, please help http://codepen.io/Sigursiguros/pen/QyJaLQ?editors=0010
Brian Kilrain
@bkilrain
seems all the helpers are taking a break @sigursiguros :worried:
Hemang Kumar
@hemangsk
@bkilrain I am working with ur codepen, will let you know if I find a solution, btw for the Random Quote Generator problem, I preferred to use an array
Coy Sanders
@coymeetsworld
@sigursiguros i dont think the setInterval function should be within the function you are passing it, needs to be separate
Brian Kilrain
@bkilrain
@hemangsk thanks a lot. I thought about using an array… but then the thought of not knowing how to properly rock an api made me crazy. I’m thinking I’ve got to use a jsonp format… something about ‘same domain policy'
CamperBot
@camperbot
bkilrain sends brownie points to @hemangsk :sparkles: :thumbsup: :sparkles:
:star: 314 | @hemangsk | http://www.freecodecamp.com/hemangsk
Coy Sanders
@coymeetsworld
Agreed I used an array too @bkilrain @hemangsk, the funny part was that I started working on this a month ago and the curriculum changed