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
Taras Yaremkiv
@Y-Taras
@sorinr thanks wow) it's working. cross-site is the reason
:sparkles:
Sorin Ruse
@sorinr
@Y-Taras it was cross origin problem. that crossorigin.me was to solve this.
nice job
Taras Yaremkiv
@Y-Taras
@sorinr well seems it's working , but the way I didn't use eval function
Heather Kusmierz
@HKuz
@MohammadHasham consider using a helper function that finds the unique items in one array that aren't in the other. (Versus trying to find the unique items in both all at once). It would take 2 arrays, loops over one, and saves any items not in the other (consider using indexOf) into a new array and returns that. Then you can call it in different ways with your original two array parameters and try to combine the solution.
AlexanderNelson
@AlexanderNelson
http://codepen.io/AlexanderNelson/full/jAKrGj/ My project images have an overlay that zoom,blur and show the title and link over the image on hover. However, I broke it somehow and I've beenworking on fixing it all day. Any ideas?
Zeeshan Haider
@zeeshan72
check out my random quote generator
John Doe
@codingisfun11
// Example
function ourTrueOrFalse(isItTrue) {
  if (isItTrue) { 
    return "Yes, it's true";
  }
  return "No, it's false";
}

// Setup
function trueOrFalse(wasThatTrue) {

  // Only change code below this line.
   if (isItTrue) {
  return "Yes, that was true";
   }
  return "No, that was false";

  // Only change code above this line.

}

// Change this value to test
trueOrFalse(True);
Use Conditional Logic with If Statements.........................trueOrFalse(false) should return "No, that was false"
Norvin Burrus
@ndburrus
@codingisfun11 lesson?
John Doe
@codingisfun11
Use Conditional Logic with If Statements....JavaScript.
Norvin Burrus
@ndburrus
@codingisfun11 isItTrueis different from wasThatTrue :sparkles:
also, review the test case/s input (note capitalization input), example: (true)
John Doe
@codingisfun11
```
// Example
function ourTrueOrFalse(isItTrue) {
  if (isItTrue) { 
    return "Yes, it's true";
  }
  return "No, it's false";
}

// Setup
function trueOrFalse(wasThatTrue) {

  // Only change code below this line.
  if (wasthatTrue) {

  return "Yes, that was true";
    }
  return "No, that was false";


  // Only change code above this line.

}

// Change this value to test
trueOrFalse(wasthatTrue);
Norvin Burrus
@ndburrus
@codingisfun11 see last comment - test case/s input :point_up: July 30, 2016 3:27 PM
compare to: (wasthatTrue)
John Doe
@codingisfun11
get rid of wasthat?
@ndburrus
should i return it then.
John Doe
@codingisfun11
blob
Luke
@lukenetti3
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
@JacobStewart1
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
@ndburrus
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.
matthew3454
@matthew3454
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
@MohammadHasham
need help with "Diff two arrays"
anyone please
Pedro Abel Díaz Sánchez
@coderHook
@MohammadHasham copy the code you have
Muhammad Hasham
@MohammadHasham

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]);
@coderHook
what corrections shall i make
regards
Pedro Abel Díaz Sánchez
@coderHook
@MohammadHasham let me check, I am not an expert though
Muhammad Hasham
@MohammadHasham
@coderHook No problem
JuanLrr
@JuanLrr
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
@coderHook
@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
@MohammadHasham
@coderHook even tried that u mean a nested one!
Pedro Abel Díaz Sánchez
@coderHook
didn't work?
Roger Hart
@wilcombebolger
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
@janine9vn
@wilcombebolger You can share the browser url address. That'll link us to your specific one
matthew3454
@matthew3454
What should I define doCalc(); as?? http://codepen.io/codeabode20/pen/PzaGmB?editors=0010
Roger Hart
@wilcombebolger
ok will do
D. Gonzalez
@younglionking
ok
Roger Hart
@wilcombebolger
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
@gbsimon87
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