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
Ethan Chandler
@Ethanlchandler
I hope to soon be able to memorize the big ones but I would love a quick search option that isnt google! haha @twoBrokenThumbs
as @Belax8 mentioned the best resource i have found is ctrl+f & http://getbootstrap.com/css/
I do enjoy asking real people. I have tried codecademy but end up going to github to look at the answer which is no real help. just cheating.
twoBrokenThumbs
@twoBrokenThumbs
@Ethanlchandler This is the other place you can reference: http://www.w3schools.com/bootstrap/default.asp
shivamsonu29
@shivamsonu29
$.getJSON(api,function(data){

 $("#data").html("kklj");

});
writing anything under getJSON function is not working/giving output..why??
Dan
@dcgoings
anyone here use visual studio code?
Greg Duncan
@GregatGit
@RadEdje I have found wikipedia's api explaination difficult to understand - I know a lot of campers have spent hours just trying to get a simple search happening. I think for now its better to just figure out the complexities of the json rather than trying to figure out their api structures
Greg Duncan
@GregatGit
I am struggling to get the four colored squares to be centered - can anyone help? http://codepen.io/gregoverhere/pen/JKGvdQ
Ethan Chandler
@Ethanlchandler
good call @twoBrokenThumbs. Thanks for the help. Good Luck!
CamperBot
@camperbot
ethanlchandler sends brownie points to @twobrokenthumbs :sparkles: :thumbsup: :sparkles:
:cookie: 121 | @twobrokenthumbs |http://www.freecodecamp.com/twobrokenthumbs
Kikelomo
@queennectarine
This message was deleted
Greg Duncan
@GregatGit
@shivamsonu29 if the api call is not successful nothing will get executed there
Kikelomo
@queennectarine
hey @shivamsonu29 , i had this problem last night i think. someone told me that the site isn't set up to handle cross-origin requests for json. we found that using a proxy site for the json worked. the one we used was "https://jsonp.afeld.me/?callback=?&url=" + whatever the url of the json you're trying to reach.

@shivamsonu29 so if api is a variable for the url, your code would look like this

$.getJSON("https://jsonp.afeld.me/?callback=?&url=" + api, function(data){

 $("#data").html("kklj");

});

hope this helps!

Greg Duncan
@GregatGit
@shivamsonu29 You can use this to get lat and long http://ip-api.com/json
Noahz
@MrNoahz
Any of you guys mind reviewing my Tribute Page project?
shivamsonu29
@shivamsonu29
@GregatGit this api is great, so there is no need of geolocation coding??
Noahz
@MrNoahz
@GregaGit Put your four squares in a div and set display as flex
shivamsonu29
@shivamsonu29
@queennectarine i tried but not working with that, it's working well with api http://ip-api.com/json, i am using geolocation code before this which stops the processing of getJSON function..
Micah
@miciah123
How come my iframe will not align to the middle of my well
In the css I added a style: "align:middle;"
Noahz
@MrNoahz
IFrames are really annoying in general
Micah
@miciah123
@MrNoahz is there a better way to display a thumbnail image of a page I made?
Noahz
@MrNoahz
A screenshot?
Try using flex box
Eldorian
@Eldorian
So this is driving me a little crazy. When the page loads, it will call getQuote twice, once in the document ready and then it hits my .click as well. But when I actually click the button that the id is tied to, nothing happens. Why is it working twice on load and not working at all when I click? http://codepen.io/Eldorian/pen/qNbQgv
I know I'm missing something obvious but been trying to troubleshoot for 30 minutes now with no idea
Noahz
@MrNoahz
For some reason your button doesn't seem to register clicks at all
Weird
Eldorian
@Eldorian
exactly
I thought maybe I was missing a parenthesis somewhere, I've tried renaming the id, it shouldn't even be triggering the .click on page load and it somehow does
Noahz
@MrNoahz
I even tried using onclick
not working
I really can't figure out why
Eldorian
@Eldorian
well now I don't feel as bad, lol
Jan Ong
@JETZero3
@Eldorian I kinda have a janky solution for your pen. I moved the "$('#quotebutton').click(getQuote());" into the getquote function itself, and replaced getQuote with function. Difficult to explain, but I forked the pen here: http://codepen.io/JETZero3/pen/MeyWVv
I'm not sure it solved the original problem you were looking at though =/
Stephen James
@sjames1958gm
@Eldorian You supply click a function, but you are calling the function.
@Eldorian $('#quotebutton').click(getQuote);
Eldorian
@Eldorian
oh man
that's what it was @sjames1958gm thank you
CamperBot
@camperbot
eldorian sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 1528 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
Stephen James
@sjames1958gm
@Eldorian :+1:
Eldorian
@Eldorian
I knew it had to be something dumb
Jeremy
@jer244
Hey all... I just finished updating my JS calculator from feedback I got here a couple days ago.. Would appreciate any and all feedback on the updated version. Thanks. http://codepen.io/jer244/pen/yJLrmM