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
max77p
@max77p
however implementing this in jquery is different problem for me lol
Anshul Jain
@ajain706
lol
lets try
@max77p
Jacob Stewart
@JacobStewart1
does anybody know what -> does in javascript?
Anshul Jain
@ajain706
@max77p
you there
max77p
@max77p
@ajain706 yes sir
Anshul Jain
@ajain706
Capture.JPG
take a look at this @max77p
max77p
@max77p
@ajain706 yes but each blurb of text corresponds to the specific image
so shouldn't they be on same line?
Anshul Jain
@ajain706
they can come on the same line but we need to try much harder and i m not sir i m still 21
@max77p
max77p
@max77p
@ajain706 so i think i figured out the alternative way
@ajain706 in jquery i separated functions for when online and when offline so that it puts out the different color..but kept background color for the container white, so it creates the border effect
but thanks for your help anyway @ajain706 !
CamperBot
@camperbot
max77p sends brownie points to @ajain706 :sparkles: :thumbsup: :sparkles:
:warning: max77p already gave ajain706 points
Anshul Jain
@ajain706
nice bro
@max77p
just do a thing put height : 3em; instead of 5em;
@max77p
max77p
@max77p
@ajain706 why is that? it makes it look smaller no?
Anshul Jain
@ajain706
no it looks normal
@max77p
Anshul Jain
@ajain706
@max77p are you there
anyone is there
Unknown
@Unknownhezipaz
@dhcodes thanks bro it worked.You know for the portfolio part do I just put h2 tag and then write what I have to for that.Or do I have to create a separate div for that
CamperBot
@camperbot
majedmahmood27 sends brownie points to @dhcodes :sparkles: :thumbsup: :sparkles:
:star2: 1284 | @dhcodes |http://www.freecodecamp.com/dhcodes
max77p
@max77p
@ajain706 yes
Anshul Jain
@ajain706
lesson Stand in Line
stuck
@max77p
max77p
@max77p
which one?
Anshul Jain
@ajain706

function nextInLine(arr, item) {
// Your code here
testArr.push(10);
return testArr.shift();
}

// Test Setup
var testArr = [5,6,7,8,9];

// Display Code
console.log("Before: " + JSON.stringify(testArr));
console.log(nextInLine(testArr, 1)); // Modify this line to test
console.log("After: " + JSON.stringify(testArr));

this one @max77p
done bro
max77p
@max77p
@ajain706 sorry which lesson we talking about?
Norvin Burrus
@ndburrus
@ajain706 instead of testArr, we need to use arr..., also we need to use a variable with the push method :sparkles:
Ryan Williams
@Ryanwfile
Can someone please help me with this code for the simon project, I am having trouble getting the buttons to light up after one another instead of all at once. Thank you.
repeat = ['yellow', 'blue', 'green', 'red', 'yellow', 'green', 'blue', 'green', 'yellow'];
   repeat.forEach(function(el,idx){
   console.log(idx,el);
    if (el == "red"){
             $('#red').css('background-color',"#FF0000");
             sound0.play(); 
             setTimeout(function(){ $('#red').css('background-color','#aa0000') },1100);
        }
        else if (el == "green"){
             $('#green').css('background-color',"#00FF00");
             sound1.play();
             setTimeout(function(){ $('#green').css('background-color','#00aa00') },1100);
        }
        else if (el == "blue"){
            $("#blue").css('background-color',"#0000FF");
            sound2.play();
            setTimeout(function(){ $('#blue').css('background-color','#0000aa') },1100);
       }
        else if (el == "yellow"){
            $("#yellow").css('background-color',"#FFFF66");
            sound3.play();
            setTimeout(function(){ $('#yellow').css('background-color','yellow') },1100);
       }

  })
Anshul Jain
@ajain706
thanks guyz i already done
@max77p @ndburrus
Rada
@Radascript
@Ryanwfile can we see your pen?
Ryan Williams
@Ryanwfile
@Radascript Sure it's http://codepen.io/Ryanwfile/pen/OXwEwK , thank you
CamperBot
@camperbot
ryanwfile sends brownie points to @radascript :sparkles: :thumbsup: :sparkles:
:cookie: 378 | @radascript |http://www.freecodecamp.com/radascript
Rada
@Radascript
@Ryanwfile put your soundX.play()s INSIDE the setTimeOUts for starters