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
flindip
@flindip
Does anyone know how to link Jquery using just a JS compiler. It seems you call it in HTML. But I'm not using HTML on repl.it
UtkarshShukla7
@UtkarshShukla7
@codingisfun11 :+1:
Taylor Morgan
@tmdesigned
@flindip you can call it using AJAX and then eval it, but it has to be on the same domain, I think
flindip
@flindip
@ohiosierra So its mostly just linked through HTML?
Taylor Morgan
@tmdesigned
@flindip think so
@flindip what are you using on repl.it
@flindip just the javascript window?
Sundeep
@pidugusundeep
anyone worked on cards ?
material design ?
flindip
@flindip
@ohiosierra yeah, I'm just doing the JS on the workstation. Doesn't use any HTML code.
@ohiosierra thanks
CamperBot
@camperbot
flindip sends brownie points to @ohiosierra :sparkles: :thumbsup: :sparkles:
:cookie: 66 | @ohiosierra |http://www.freecodecamp.com/ohiosierra
flindip
@flindip
@ohiosierra don't have enough familiarity with AJAX
Taylor Morgan
@tmdesigned
@flindip so I think the model there is you are working on a single JS file. using jquery is bringing in a separate individual file. So its kind of breaking the bounds of that system. Java is often used as standalone, but (in my experience) not javascript.
@flindip I'd transfer over into the joint HTML/CSS/JS workflow there, copy and paste your JS into it
@flindip but that's just my understanding
flindip
@flindip
@ohiosierra I gotcha. I can just use codepen's compiler. I guess if I wanna test Jquery I can't really use repel.it. Not a big deal
Taylor Morgan
@tmdesigned
@flindip well you can, repl.it has a joint HTML/CSS/JS workflow just like codepen
flindip
@flindip
@ohiosierra yeah, thats true. I guess I can just do that. Thanks
CamperBot
@camperbot
flindip sends brownie points to @ohiosierra :sparkles: :thumbsup: :sparkles:
:warning: flindip already gave ohiosierra points
Taylor Morgan
@tmdesigned
no prob
Sundeep
@pidugusundeep
material design @ohiosierra
@ohiosierra can u help me with cards
Taylor Morgan
@tmdesigned
@pidugusundeep sorry not familiar
Sundeep
@pidugusundeep
@flindip can u help me with cards material design
flindip
@flindip
@pidugusundeep what do you need?
Sundeep
@pidugusundeep
@flindip hii are you familier with cards ?
i want to align the cards inline and iam unable to do that could you please help me out with this @flindip
flindip
@flindip
@pidugusundeep Sorry I'm not familiar with that. I'm fairly mediocre at Bootstrap atm.
Sundeep
@pidugusundeep
@flindip fine thanks !
CamperBot
@camperbot
pidugusundeep sends brownie points to @flindip :sparkles: :thumbsup: :sparkles:
:cookie: 281 | @flindip |http://www.freecodecamp.com/flindip
flindip
@flindip

If I'm using JSON for an API. I just wanna test that I'm linked in with it. How do I display it in JS?

$.getJSON("http://ip-api.com/json");
console.log(JSON.stringify(data));

Is it something like that or do I have to create a variable/array?

Marc Immediato
@marcimmediato
@sorinr do you think it will look silly to have such little content taking up a whole page?
John Doe
@codingisfun11
https://codepen.io/CodingKaz/pen/ZOpqVN anyfeedback would help. I just want to know when I am done with the tribute page.
Huy Nguyen Thuong
@NguyenThuongHuy
@sophiabrandt sorry i didnt see your comment, it was solved.
hi guys i just finished random quote machine, any feedback is welcome
http://s.codepen.io/huynguyenthuong/debug/YWWxjX
JD Tadlock
@jdtdesigns
$.getJSON('http://ip-api.com/json', function(data) {
  console.log(data);
});
@flindip
IndiraShrestha
@IndiraShrestha
Hi I am working on generating random quote generator challenge
and here is the link to my code pen
not sure where i did wrong
JD Tadlock
@jdtdesigns
@IndiraShrestha There are about 10 different errors in your code. You might want to look over the api and $.getJSON again
where did you see loadJSON?
IndiraShrestha
@IndiraShrestha
I looked up for some youtube videos
JD Tadlock
@jdtdesigns
@IndiraShrestha loadJSON is probably just a function someone created using a standard xml request