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
John Doe
should i return it then.
Can someone please help me with my twitch.tv project. I am trying to do a live search with the text box and I'm having a hard time. Here's my code, I really haven't done anything for the live search, just having trouble starting. http://codepen.io/lukenetti3/pen/oLEmYK?editors=1010
Jacob Stewart
hey can someone help me on my quotes genetator https://codepen.io/JacobStewart1/pen/AXVkGk i know i need some jquery but can someone like kind of walk me through some of it to help me out
Norvin Burrus
This message was deleted
@codingisfun11 here: if (false) { should be what?
reference instructions, here: if the parameter wasThatTrue is true and return "No, that was false" otherwise.
Please help me with my code everyone. Thank you. The problem is that I can't get my calculator "equals button" to work http://codepen.io/codeabode20/pen/PzaGmB?editors=1000
Muhammad Hasham
need help with "Diff two arrays"
anyone please
Pedro Abel Díaz Sánchez
@MohammadHasham copy the code you have
Muhammad Hasham

function diffArray(arr1, arr2) {

 var sliced = arr1.slice(0,1);
  var f = parseInt(sliced);

  if  (arr2.indexOf(f) > -1)
      return arr2;

  var filtered = arr1.filter(diffArray);


diffArray([1, 2, 3, 5], [1, 2, 3, 4, 5]);
what corrections shall i make
Pedro Abel Díaz Sánchez
@MohammadHasham let me check, I am not an expert though
Muhammad Hasham
@coderHook No problem
I need help with Random Quote Machine. I want to get an initial random quote when I open the pen, but it's blank. http://codepen.io/JuanLrr/pen/QEAGgp
Pedro Abel Díaz Sánchez
@MohammadHasham Basically you are not doing what they are asking, sliced contains a whole array but you should have only the difference between both arrays
@MohammadHasham from my point of view, it would be easy if you compare both array with a for loop
then, at the point you get a difference you can slice that piece of array as you were doing or even better, store the different value in a new array
Muhammad Hasham
@coderHook even tried that u mean a nested one!
Pedro Abel Díaz Sánchez
didn't work?
Roger Hart
Hi all how do I share my codepen tribute page with you all? how do I make a link for it? sorry to seem so dim here lol
Janine vN
@wilcombebolger You can share the browser url address. That'll link us to your specific one
What should I define doCalc(); as?? http://codepen.io/codeabode20/pen/PzaGmB?editors=0010
Roger Hart
ok will do
D. Gonzalez
Roger Hart
my Free Code Camp tribute page project it's URL is posted below
please feel free to give feedback and thank you for your advice
Simon Cordova
Go Alfie!
Good to hear hes making a sound recovery :)
@wilcombebolger your title should go inside your head element
You've also got an open h1 tag
your css is also referencing an id named ul, but it doesn't exist, if you want to target the ul (unorganized list), remove the '#'
Roger Hart
@gbsimon87 :+1: BLIMEY !! Rechecking it you are so right and yet thank you for taking the time to look over it . I've gone back and corrected the work ( a case of can't see for looking on the most part) but cheers
wilcombebolger sends brownie points to @gbsimon87 :sparkles: :thumbsup: :sparkles:
:cookie: 290 | @gbsimon87 |http://www.freecodecamp.com/gbsimon87
Simon Cordova
@wilcombebolger no worries buds, keep at it!
Roger Hart
will do thank you Simon
William Cabell
@wilcombebolger That's the best tribute page subject I've seen yet!
Hi guys, I'm having trouble finishing the local weather project because of the changing background image user story. This is my pen:
No matter how I do it, the picture always ends up covering the other info on the page or not being full screen, which is what I'm aiming for. Any thoughts or ideas?
Stephen James
@wbac88 Have you tried making the image a background image via css?
William Cabell
I did, but something wasn't working with it, which is how I ended up with what I have now, found on csstricks.com
Stephen James
$("html").css("background-image", 'url(' + imgurl + ')');
William Cabell
Hmm, ok I'll try that out!
@sjames1958gm Could you give an example with a random URL in there?
NM, I have this: $("html").css("background-image", "url('https://static.pexels.com/photos/110874/pexels-photo-110874.jpeg')");
is the punctuation right?