Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • 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
Gordon Davidescu
``` makes whatever is in between it look like ^
Luong Van Vinh
@gordondavidescu thank you very much
lvhero sends brownie points to @gordondavidescu :sparkles: :thumbsup: :sparkles:
:star: 380 | @gordondavidescu | http://www.freecodecamp.com/gordondavidescu
Luong Van Vinh
@gordondavidescu i am sorry i write English not good.
Gordon Davidescu
ok, can someone help me figure out why the computer win detection is not working for everything
you're welcome @lvhero
Gordon Davidescu
still can't figure out why when a couple of moves have been made, suddenly square six is unclickable
Noah Wilkie
when i use the thumbnail component on my image i get really wide white bars on the sides of the image
Jeremy Roe
Would anyone have a moment to QA my weather zipline? http://codepen.io/jeremyroe/full/qbzVRO/
Maulik Darji
@jeremyroe nice :+1:
@jeremyroe the temperature is about 14 degrees faherenheit low to me. but, that's just open weather map's inaccuracy. so i think it's fine. the only thing i might change is to make it more obvious how to switch between f and c
Jeremy Roe
Ok Thanks @qualitymanifest
jeremyroe sends brownie points to @qualitymanifest :sparkles: :thumbsup: :sparkles:
:star: 1010 | @qualitymanifest | http://www.freecodecamp.com/qualitymanifest
Jeremy Roe
Thanks also @maulikdarji
jeremyroe sends brownie points to @maulikdarji :sparkles: :thumbsup: :sparkles:
:star: 511 | @maulikdarji | http://www.freecodecamp.com/maulikdarji
Chris Davis
just noticed that you can use emmet features, same used in sublime text for code shortcuts in the editor. Sweet!
ul.class1>li*5 then press tab, produces...
<ul class="class1">
Chris Davis

do you guys stagger your html, like this...

<a href="#">
    Some Link

<button class="btn">

or do you keep it inline?

<a href="#">Some Link</a>

<button class="btn">Like</button>
I keep it inline if the content is short, otherwise I use line breaks
(Sorry for reposting; didn't get a response before) For the Twitch API, why is my array only printing the last array item inside the $.getJSON function?
 for (i = 0; i < streamers.length; i++) {
    var currentStreamer = streamers[i];
    console.log(currentStreamer); //prints list of all streamers

    $.getJSON(endpointURL + streamers[i], function(json) {
      var isStreaming = json.stream;
      console.log(currentStreamer); //prints list of only last streamer in array

      if (isStreaming) {
        var streamer = json.stream.channel.name,
          streamTitle = json.stream.channel.status,
          streamImage = json.image,
          game = json.stream.game;
          //do stuff
Joshua McKenzie
I've been looking over this for about an hour now. Cant seem to understand why it's not displaying. Any tips? Thanks
 if(navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(position) {
  var lat = position.coords.latitude;
  var lon = position.coords.longitude;

 } else {
   document.getElementbyId("city").innerHTML = "Either you did not allow your browser to ping your location or this browser is not supported.";
var loadWeather = function(lat,lon){
var api = "&APPID=7d764d9a5887edcac1258090cce472a8";
var apiurl = "http://api.openweathermap.org/data/2.5/weather&lat="+lat+"&lon="+lon+api;
    type: GET,
    url: apiurl,
    dataType: 'jsonp',
    success: function(json){
could you link your pen
Joshua McKenzie
is my pen corrupted?
Maulik Darji
@metaljacke1 try checking the generated api url, by alert or printing it somewhere on the page
@metaljacke1 it returns invalid API key
{"cod":401, "message": "Invalid API key. Please see http://openweathermap.org/faq#error401 for more info."}
Joshua McKenzie
Well its the right api key according to openweather
maybe they blocked for a couple of mins since it's a free api?
Maulik Darji
try reseting the key
Joshua McKenzie
Ok I just reset and copy pasted
still nothing.
Im gonna call it a night.
3am here.
Thanks for trying @maulikdarji
metaljacke1 sends brownie points to @maulikdarji :sparkles: :thumbsup: :sparkles:
:star: 512 | @maulikdarji | http://www.freecodecamp.com/maulikdarji
@metaljacke1 have you tried "lat"+"lon"+"api";
Bruce Young
@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
@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.
@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
anthonygallina1 sends brownie points to @mutantspore and @mutantspore :sparkles: :thumbsup: :sparkles:
:star: 1182 | @mutantspore | http://www.freecodecamp.com/mutantspore