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
Adel
@AdelMahjoub
@sperrye add a padding-top to your body in the css file
karocann
@karocann
@makstheimba I've got an arrow in both knees. Elbows and ankles are next. I'm stictly a Fallout fan.
Adel
@AdelMahjoub
@sperrye like 100px
Emily Sperry
@sperrye
is it just the offset?
oh, i see
Thank you
thanks @AdelMahjoub
CamperBot
@camperbot
sperrye sends brownie points to @adelmahjoub :sparkles: :thumbsup: :sparkles:
:cookie: 342 | @adelmahjoub |http://www.freecodecamp.com/adelmahjoub
Maksim Kulichenko
@makstheimba
wtf who is talking
Emily Sperry
@sperrye
?
karocann
@karocann
@makstheimba I hear it too.
Maksim Kulichenko
@makstheimba
somebody is suddenly started talking
Emily Sperry
@sperrye
I don't hear anything, I didn't even know that was a feature
Maksim Kulichenko
@makstheimba
I did not know you can broadcast your voice to a whole room
Emily Sperry
@sperrye
OH, I bet youre hearing the video!
Because I paused it.
scroll up, there might be a video of a twitch project playing
Amit
@amit-s
hah! I think it's the twitch stream above
Maksim Kulichenko
@makstheimba
@sperrye oops, yeah. That's the case. But I did not click on a video
Amit
@amit-s
@karocann I think your success functions need a }
jahnellybean
@jahnellybean
hahah the video got me too
anyone wanna help me :)
?
Amit
@amit-s
@jahnellybean i can try...what's up?
jahnellybean
@jahnellybean
yay thank you!
http://codepen.io/jahnellybean/pen/rrbxPA the "My Work" preview section is off-centered. i want to center it with there are 2 images in a row but they seem to shift left. however, if i remove the margin in my css for each image (work1-4) then its centered. but i want the space between each image
Amit
@amit-s
@jahnellybean ok...the quickest fix (but not necessarily the best) would be to add margin-left to work1 and work3. you can add this after your existing margins
jahnellybean
@jahnellybean
ah yes that makes sense and could work for now
ty @amit-s!
CamperBot
@camperbot
jahnellybean sends brownie points to @amit-s :sparkles: :thumbsup: :sparkles:
:cookie: 340 | @amit-s |http://www.freecodecamp.com/amit-s
Amit
@amit-s
look into css flexbox. I prefer it when it comes to stuff like this
Daniel
@DanielMW34
Hello. I am running into some trouble with my tic-tac-toe game, in particular the functions checkPlayerVictory and checkComputerVictory... I have copied the code for checkPlayerVictory below and posted a link to the pen as well. For some reason, these functions are not doing what they are "supposed" to do and the application as a whole is very buggy. Hoping to start with the code below. Please, if you can help, help me figure out what the heck is going wrong with this ...
 function checkPlayerVictory() {
    $("#test6").html("checkPlayerVictory Initiated"); 
    for (i=0; i < winCombos.length; i++) {
        var ticTacToe = [];
        var tic = winCombos[i][0];
        var tac = winCombos[i][1];
        var toe = winCombos[i][2];
        if (playerOne.indeOf(tic) !== -1) {
          ticTacToe.push("tic");
        }
        if (playerOne.indeOf(tac) !== -1) {
          ticTacToe.push("tac");
        }
        if (playerOne.indeOf(toe) !== -1) {
          ticTacToe.push("toe");
        }
        if (ticTacToe.length == 3) {
          playerOneScore += 1;
          winner = "Player1";
          $("#test7").html(playerOneScore);
          $("#1").html("Y");
          $("#2").html("O");
          $("#3").html("U");
          $("#4").html("-");
          $("#5").html("-");
          $("#6").html("-");
          $("#7").html("W");
          $("#8").html("I");
          $("#9").html("N");
          break;
        }
      }
    if (winner == "Player1") {
        setTimeout (startGame, 3000);
      }
    if (winner !== "Player1") {
      cpuTurn();
    }
  }
Risa Fletcher
@risafletcher
@DanielMW34 in your ifs: fix indeOf to indexOf
Daniel
@DanielMW34
@risafletcher OMFG..... thank you... I have been losing my mind over this
CamperBot
@camperbot
:cookie: 4 | @risafletcher |http://www.freecodecamp.com/risafletcher
danielmw34 sends brownie points to @risafletcher :sparkles: :thumbsup: :sparkles:
Daniel
@DanielMW34
@risafletcher do you have a line number or is it repeated over and over ?
Ken Haduch
@khaduch
@DanielMW34 ".indexOf" - misspelling
Many lines in the code you posted
Risa Fletcher
@risafletcher
@DanielMW34 the first 3 ifs in your for loop in the checkPlayerVictory function
Daniel
@DanielMW34
@risafletcher @khaduch thank you ... I have probably copied/pasted this mistake into checkComputerVictory as well.... I can't imagine how long I would have gone on rewriting and restructuring the code if it had not been for you catching that
CamperBot
@camperbot
danielmw34 sends brownie points to @risafletcher and @khaduch :sparkles: :thumbsup: :sparkles:
:warning: danielmw34 already gave risafletcher points
:star2: 1842 | @khaduch |http://www.freecodecamp.com/khaduch
Risa Fletcher
@risafletcher
@DanielMW34 I hope it helps! If there are more errors I'm happy to help! :)
Daniel
@DanielMW34
@risafletcher there are!!!!
Ken Haduch
@khaduch
@DanielMW34 - the browser developer console would help you with non-existent functions like this. Open it up when you are using the site