Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • 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
JD Tadlock
@karpimpski for coding?
Michael Karpinski
@jdtdesigns no, I mean are you going to make this a public website for people to actually practice coding or is this just a personal project?
JD Tadlock
@karpimpski It'll be a public place to sign up for Dev War tournaments. The matches will be 3v3, 2v2 or 1v1 and streamed live on twitch.
The matches will consist of a huge variety of challenges from created standard html/css/js sites to full apps with node, php and other languages
Michael Karpinski
@jdtdesigns that sounds really awesome!
JD Tadlock
oh yes @karpimpski
i can't wait until i'm finished lol
Michael Karpinski
@jdtdesigns make sure you let everybody here know when you are, I'd love to check it out once it's done
JD Tadlock
i'll definitely spread the word
i'm not sure how long it will take
shiva mariswamy subramani
@kevinjanada i liked ur quote page. simple to learn ajax n css for a beginner
Kevin Janada Roy Ardian
@shivamar thanks! appreciate it. hopefully i'll finish it soon.
just need to make the tweet button work now
kevinjanada sends brownie points to @shivamar :sparkles: :thumbsup: :sparkles:
:cookie: 24 | @shivamar |http://www.freecodecamp.com/shivamar

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.


how to indent a <p>?
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;
return a;
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
@c0d0er hello again. The challenge is to multiply these numbers together without repeating. You did not multiply the results.
@silver537 thanks
nitinraghav sends brownie points to @silver537 :sparkles: :thumbsup: :sparkles:
:cookie: 610 | @silver537 |http://www.freecodecamp.com/silver537
Dr. Paul Kenneth Shreeman
  $('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
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
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
can any one point me in the right direction for creating this type of nav bar https://blackrockdigital.github.io/startbootstrap-stylish-portfolio/
ty @cannelflow
sorry cannelflow, you can't send brownie points to yourself! :sparkles: :sparkles:
@kirbyedy ty
cannelflow sends brownie points to @kirbyedy :sparkles: :thumbsup: :sparkles:
:star2: 1444 | @kirbyedy |http://www.freecodecamp.com/kirbyedy
i also found some http://bootsnipp.com/user/snippets/3XRNV @kirbyedy
Evan W
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
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
@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
@AllanPooley ok. where you guys host your portfolios for free?
Allan Pooley
There's lots of online resource, videos of youtube, but this is the reference that is particularly handy: https://getbootstrap.com/
Ghulam Shabir
@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
@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?
@ghulamshabir github
Ghulam Shabir
@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
gh-pages You can have your static webpage there
@ghulamshabir and you'll learn to use git along the way ;D