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
Xavier Velez
@JonSnow08
$(document).ready(function(){
  var long;
var lat;
  $.getJSON("http://ip-api.com/json/", function(data) {
   lat = data.lat;
    long = data.lon;
    console.log(lat);
   });

  getWeather(metric[0], metric[1], metric[2], sun);
@ndburrus hey buddy how are you?
Norvin Burrus
@ndburrus
@subtlefluids01 well, it takes care of all the falsy values....
@JonSnow08 im good! how are you? nice to see you!
Andrew Perrin
@Pezz18
@JonSnow08 ahhh, thanks alot :) seems so simple! got there in the end! cheers
CamperBot
@camperbot
pezz18 sends brownie points to @jonsnow08 :sparkles: :thumbsup: :sparkles:
:warning: pezz18 already gave jonsnow08 points
Xavier Velez
@JonSnow08
@Pezz18 its always the simplest things, I spent hours trying to find mistakes in my code last night only to find out my .css calls weren't closed properly. every single one, I messed up when I used a replace function sublime text has
@ndburrus not much man, almost done with my front end. once I finish the Simon game I'm all done
Andrew Perrin
@Pezz18
ah yeah, thats my next task now,, converting my codepen into a html, css and js script files to load from my desktop
Norvin Burrus
@ndburrus
@JonSnow08 nice work! :sparkles:
Xavier Velez
@JonSnow08
@Pezz18 you can export it to github and then you just have to put the css and js links in there
@Pezz18 if you need help, let me know
@ndburrus thank you, how are you?
CamperBot
@camperbot
jonsnow08 sends brownie points to @ndburrus :sparkles: :thumbsup: :sparkles:
:star2: 1229 | @ndburrus |http://www.freecodecamp.com/ndburrus
Andrew Perrin
@Pezz18
@JonSnow08 well, i have copied and pasted the html, css and js into their own files, the html and css appear to be linked, but the js isnt running, ive added a script tag in my head - and think i have linked jquery correctly too?
Xavier Velez
@JonSnow08
I'm having a bit of trouble with my simon game if anybody has a second
@Pezz18 do you have them in the same folder?
Andrew Perrin
@Pezz18
yeah. have a main folder, then an assets folder with stylesheets, js etc,,
Xavier Velez
@JonSnow08
whats your script link look like
Andrew Perrin
@Pezz18
@JonSnow08 <script type="text/javascript" src="assets/javascript/script.js"></script>
i converted over the random quote generator challenge ok though!
Norvin Burrus
@ndburrus
@JonSnow08 :point_up: July 31, 2016 11:28 AM
Andrew Perrin
@Pezz18
@JonSnow08 i also have these links: not sure what each one is actually for though!
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<script type="text/javascript" src="assets/javascript/script.js"></script>
<script src="//use.edgefonts.net/quicksand.js"></script>
Xavier Velez
@JonSnow08
that first one is for jquery
the second is jqueryui
the third is your js link
and the fourth is for quicksand
if anybody has a moment to help me figure out why my simon game isn't working i'd appreciate it
im getting an error in browser console when i click start that I dont understand
Karolis
@Karoliss
Hello everyone . Can anyone tell me how to do photo and text like this how its done here ? https://codepen.io/FreeCodeCamp/full/NNvBQW/ I tried like this - but it isn't the same <img class="smaller-image" src="http://static1.squarespace.com/static/5256f6e4e4b086e2b62842e2/t/54bbbd61e4b077c90273b411/1421589862757/" alt"dr norman borlaug" style='display:under;'/>
<p style='display:under;'> Dr. Norman Borlaug, second from left, trains biologists in Mexico on how to increase wheat yields - part of his life-long war on hunger. </p>
Don Price
@KingHippo
Can anyone tell my why this code is not parsing json?
  // link to profile id
  var profile = 'https://peaceful-springs-7920.herokuapp.com/profile/';
  // link to articles
  var content = 'https://peaceful-springs-7920.herokuapp.com/content/';

    $.getJSON(profile, function(json){
        console.log(json.profileId);
    });


 });
Nicolas Crumrine
@CrumrineCoder
Try console logging json
Don Price
@KingHippo
@CrumrineCoder ok
@CrumrineCoder It's not working. I get an error in console "CORS header 'Access-Control-Allow-Origin' missin"
I am able to get data back when I use node.js but not jquery
Ken Haduch
@khaduch
@Luomint you do not have a file name for your photo, "something.jpg", at the end of your url. And it should be "alt="
Mahak Narayan Singh
@makkBit
I'm starting with build a pomodoro clock project, Can someone please provide me some references on how to deal with the timer/clock ?
Nicolas Crumrine
@CrumrineCoder
Try opening dev tools and see if you're getting an error there
@KingHippo
Honestly I don't really know I'm just spitballing
Xavier Velez
@JonSnow08
@makkBit you'll want to use setInterval
@makkBit you'll also have to use Math.floor() and modulo to get it to display time properly
@makkBit if you need more help once you've started writing, let me know
Anshul Jain
@ajain706
need help
In Word Blanks lesson
Xavier Velez
@JonSnow08
@ajain706 post your code
Anshul Jain
@ajain706

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
var result = "";
// Your code below this line

// Your code above this line
return result;
}

// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");