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
shiva mariswamy subramani
@shivamar
@kevinjanada i liked ur quote page. simple to learn ajax n css for a beginner
Kevin Janada Roy Ardian
@kevinjanada
@shivamar thanks! appreciate it. hopefully i'll finish it soon.
just need to make the tweet button work now
CamperBot
@camperbot
kevinjanada sends brownie points to @shivamar :sparkles: :thumbsup: :sparkles:
:cookie: 24 | @shivamar |http://www.freecodecamp.com/shivamar
Kantra
@removed~kantrakantra

Does anybody know if you can animate a fade in for .html()?

For example with this code:

$(document).ready(function() {

  $('.run').on('click', function() {

      $(".theball").html('<div class="die pulse" style="background-image: url(' + suh() + ');"></div>');

    })

})

which is adding/replacing the enclosed div element everytime the div classed .theball is clicked. Is there anyway to animate – preferably a fade in / fade out – of the element (it's essentially just an image) everytime .theball is clicked?

This is the rest of the code, It's a Magic Eight Ball. Click "RUN" to see what I'm talking about. I want the Eight Ball response to fade out and the new one to fade in every time it's changed.

http://codepen.io/kantrakantra/pen/bwrEaq?editors=1010

NITIN RAGHAV
@nitinraghav
how to indent a <p>?
silver537
@silver537
Text-indent
c0d0er
@c0d0er
could anybody check why the following code works in repl.it, but cannot pass the the challenge Smallest Common Multiple in fcc ?
function smallestCommons(arr) {
var max=Math.max(arr[0],arr[1]);
  var min=Math.min(arr[0],arr[1]);
function test (num){
    for(var i=min; i<=max; i++){
        if(num%i){return false}        
    }
    return true;
}
var a=1;
while(!test(a)){a++;test(a);}
return a;
}
smallestCommons([1,13]);
/*
smallestCommons([1, 5]) should return a number.
smallestCommons([1, 5]) should return 60.
smallestCommons([5, 1]) should return 60.
smallestCommons([1, 13]) should return 360360.
smallestCommons([23, 18]) should return 6056820.
*/
Dr. Paul Kenneth Shreeman
@pkshreeman
@c0d0er hello again. The challenge is to multiply these numbers together without repeating. You did not multiply the results.
NITIN RAGHAV
@nitinraghav
@silver537 thanks
CamperBot
@camperbot
nitinraghav sends brownie points to @silver537 :sparkles: :thumbsup: :sparkles:
:cookie: 610 | @silver537 |http://www.freecodecamp.com/silver537
Dr. Paul Kenneth Shreeman
@pkshreeman
  $('button').click( function(){

     if(this.id == "blue" || "red"){
     if (this.id =="blue"){enemycolor = "blue"; mycolor="red"; console.log("color selected")};
     if(this.id =="red"){enemycolor="red",mycolor="blue"};
      $("#infohere").html('<div class ="w3-container"><button id = "1"></button><button id = "2"></button><button id = "3"></button><br><button id = "4"></button><button id = "5"></button><button id = "6"></button><br><button id = "7"></button><button id = "8"></button><button id = "9"></button><br></div>')};
     if(this.id == "1"){console.log("does this even work?")};
   })
 });
What am I doing wrong here?
I"m trying to write over the html code with new html code and continue to monitor these new button's clicking activity. There's no response.
Ayush Agrawal
@ayush1810
Hey,
I just learned Bootstrap after learning HTML,CSS, JS, JQUERY.
I wish to make a personal portfolio but can't make a layout. Can anyone suggest some ideas for layout design of the site.
Or some resources to look up for that?
Ahmad Ali
@microcyberz
game is not complete yet, but I programmed it to generate auto opponent's response. Sometimes It does not generate that response, I would appreciate your help http://codepen.io/microcyberz/pen/wzmVrG
cannelflow
@cannelflow
can any one point me in the right direction for creating this type of nav bar https://blackrockdigital.github.io/startbootstrap-stylish-portfolio/
cannelflow
@cannelflow
ty @cannelflow
CamperBot
@camperbot
sorry cannelflow, you can't send brownie points to yourself! :sparkles: :sparkles:
cannelflow
@cannelflow
@kirbyedy ty
CamperBot
@camperbot
cannelflow sends brownie points to @kirbyedy :sparkles: :thumbsup: :sparkles:
:star2: 1444 | @kirbyedy |http://www.freecodecamp.com/kirbyedy
cannelflow
@cannelflow
i also found some http://bootsnipp.com/user/snippets/3XRNV @kirbyedy
Evan W
@Dirtier
Grr anyone there pretty good w/ Vue and debugging?
I'm not too great with the chrome debugger and I can't figure out why its giving me an undefined
Ghulam Shabir
@ghulamshabir
Hello all campers, I am getting started to work on Build a Portfolia assignment, which library to use? bootstrap?, I will be using this project as my real portfolio, so what is easiest way to host the project from codepen to the hosting website. which free hosting website are you using? please give you invaluable suggestions. !!THANKS!!
Allan Pooley
@AllanPooley
@ghulamshabir Hey Ghulam Shabir, I've just had a go at the challenge and found bootstrap to be pretty handy and easy to use. I'd recommend it.
Ghulam Shabir
@ghulamshabir
@AllanPooley ok. where you guys host your portfolios for free?
Allan Pooley
@AllanPooley
There's lots of online resource, videos of youtube, but this is the reference that is particularly handy: https://getbootstrap.com/
Ghulam Shabir
@ghulamshabir
@AllanPooley oh you mean i need to google to find a hosting website? you could name one or two please
@AllanPooley learning bootstrap is not a problem, i am thinking of making this project online, would you help me
Allan Pooley
@AllanPooley
@ghulamshabir I just meant for using bootstrap. I'm not sure about hosting. I'm not sure if there is a place that will host your html and css for free. You want your own domain right? Like "ghulamshabir.com" right?
kat-mag
@kat-mag
@ghulamshabir github
Ghulam Shabir
@ghulamshabir
@AllanPooley oh yes that i was asking
@kat-mag oh github? its good? i thought people use it post their programs to review or something like that
kat-mag
@kat-mag
gh-pages You can have your static webpage there
@ghulamshabir and you'll learn to use git along the way ;D
Ghulam Shabir
@ghulamshabir
@AllanPooley @kat-mag can i get domain on my own name on github
kat-mag
@kat-mag
@ghulamshabir u gonna get username.github.io
It's good for a start
Ghulam Shabir
@ghulamshabir
@kat-mag @AllanPooley oh thank you all , you are great :smile:
CamperBot
@camperbot
:cookie: 359 | @kat-mag |http://www.freecodecamp.com/kat-mag
:cookie: 122 | @allanpooley |http://www.freecodecamp.com/allanpooley
ghulamshabir sends brownie points to @kat-mag and @allanpooley :sparkles: :thumbsup: :sparkles:
Allan Pooley
@AllanPooley
Good luck and have fun @ghulamshabir ! :smile:
Ghulam Shabir
@ghulamshabir
@AllanPooley :smile:
Sebastian Cheung CQF
@scheung38

how to import expect into codepenio :

https://www.npmjs.com/package/expect