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
tadalox
@tadalox

@tadalox
hello, please help. Why this code does not work?
$(document).ready(function() {

$("#getMessage").on("click", function(){
  // Only change code below this line.

  $.getJSON("http://quotesondesign.com/api/3.0/api-3.0.json", function(json) {

$(".message").html("lalala");
});

  // Only change code above this line.
});

<div class="container-fluid">
<div class = "row text-center">
<div class = "col-xs-12 well message">
The message will go here
</div><button id = "getMessage" class = "btn btn-primary">
Get Message
</button>
</div>

John Doe
@codingisfun11
@UtkarshShukla7 the page looks a lot neater how did you do that!
UtkarshShukla7
@UtkarshShukla7
@codingisfun11 its a class defined in the bootstrap library .You can use many such classes to make your page responsive
John Doe
@codingisfun11
@UtkarshShukla7 I thought we were only limted to html css, etc I never knew we could try to use other lanaguages.
@UtkarshShukla7 I am saying this because they only give you 3 boxes to code in
@UtkarshShukla7 js,html, css
UtkarshShukla7
@UtkarshShukla7
@codingisfun11 well there are many such frameworks .Well I think you already added bootstrap library
before me telling you to use that class
John Doe
@codingisfun11
@UtkarshShukla7 hmmmm ok I am starting to understand
@UtkarshShukla7 I added external css I think that is whats happening.
UtkarshShukla7
@UtkarshShukla7
these libraries can be linked in your pen using the gear icon provided next to html,css ,javascript
@codingisfun11 yep
@codingisfun11 these libraries have predefined css and js which you can use after linking them to your pen
these can also be added by using link tags and script tags in the head tag of your html document
John Doe
@codingisfun11
@UtkarshShukla7 I dont know what script tags are. I will figure it out tho
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