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
CamperBot
@camperbot
mayur3086 sends brownie points to @gregatgit :sparkles: :thumbsup: :sparkles:
:star: 429 | @gregatgit | http://www.freecodecamp.com/gregatgit
Greg Duncan
@GregatGit
Looks great - I am going to run through their templete too
A H
@allenhsieh
For "Build a Random Quote Machine" is there a suggested API we should be using?
kirbyedy
@kirbyedy
@allenhsieh anything goes
A H
@allenhsieh
thank you @kirbyedy
CamperBot
@camperbot
allenhsieh sends brownie points to @kirbyedy :sparkles: :thumbsup: :sparkles:
:star: 922 | @kirbyedy | http://www.freecodecamp.com/kirbyedy
ajaybti
@ajaybti
please help i am struggling with how to create online and offline click event http://codepen.io/ajaybti/pen/YqLJzQ
Clem
@ctataru
hey guys. i'm trying to make my count down timer element (css line 66) bigger, but it completely distorts my structure when i try to change the font size. is there anyway to make this one element ignore margin rules and not interact with the other number/arrows?
http://codepen.io/wise/pen/PNBopg
Meghana
@meghanasarikonda
This message was deleted
Greg Duncan
@GregatGit
@ajaybti give your buttons an id like id='myOnline'
$('#myOnline')click(funtion(){
  // do stuff;
});
Meghana
@meghanasarikonda
Greg Duncan
@GregatGit
@meghanasarikonda I recomend a seperate line to create your api url, then put it in your getJSON
Meghana
@meghanasarikonda
@GregatGit means..
ajaybti
@ajaybti
@GregatGit actually i am unable to create logic to sort online and offline ,,,,can u look at on my code or how can do it,,,
Greg Duncan
@GregatGit
@ajaybti are you unable to tell if the channel is offline?
EugeneSvinolupov
@EugeneSvinolupov
@meghanasarikonda change view to Full Page, open Chrome -> dev tools -> console - and you'll see an error "getCurrentPosition() and watchPosition() are deprecated on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."
kirbyedy
@kirbyedy
Screen Shot 2016-04-25 at 16.27.05.png
@ajaybti check the image
Jas K
@jask84
Hi. Would appreciate if someone could take the time to take a quick look at my tic tac toe project. I want to know how to invoke the winningFunc (which determines winning combinations) by passing the choiceArray to it (which keeps a record of a 'computer' or 'user' choice in individual boxes). Thanks. http://codepen.io/jask/pen/xVaZQM?editors=0010
Nazim
@nazimkazim
@All Please suggest me a correct way to append?
alpox
@alpox
@nazimkazim Append what to what?
@jask84 I get an error 404 on this link
Nazim
@nazimkazim
@alpox Please look at my code
http://codepen.io/nazimkazim/pen/ONEYgZ
@alpox I'am trying different options but fail
alpox
@alpox
@nazimkazim Well, it seems to append for me :D even though the design looks messed up
Jas K
@jask84
@alpox apologies. This should work. http://codepen.io/jask/pen/dMqGGw?editors=0010
Nazim
@nazimkazim
@alpox Yes you are right)))
alpox
@alpox
@jask84 That winningFunc looks bit wrong to me since it doesn't test for if its the user who wins or the computer... it would say you win even though the computer won
Hmm but maybe i'm wrong
Jas K
@jask84
@alpox your totally right. I just want it to at least reset the board first and then I can add everything else in
alpox
@alpox
@jask84 I don't really get what your problem is. Can you specify?
Jas K
@jask84
@alpox basically I have tried to invoke the winningFunc within the computerFunc and userFunc, to test winning combos from the choiceArray. However, I have tried to invoke the winningFunc in each function respectively after updating the choiceArray, but I cant get it workng. I wonder if my syntax is wrong and/or my layout of my code is incorrect in terms of how I am going through the process (computerFunc, which changes/adds to variables, then invokes userFunc click handler which I then need to switch off, and then back to computerFunc and so on).
@alpox so if you click three boxes in a row, you will see that nothing happens. It does not reset the game
alpox
@alpox
@jask84 Sry, didn't even notice. But:
choiceArray1[0] === choiceArray1[1] === choiceArray1[2]
Thats nothing js can handle
it has to be:
choiceArray1[0] === choiceArray1[1] && choiceArray1[1] === choiceArray1[2]

@jask84

var p = [2, 2, 2]
console.log(p[0] === p[1] === p[2]);

Prints false

Jas K
@jask84
@alpox thanks. I have done this before! I always forget this. Appreciate it.
CamperBot
@camperbot
jask84 sends brownie points to @alpox :sparkles: :thumbsup: :sparkles:
:star: 597 | @alpox | http://www.freecodecamp.com/alpox
alpox
@alpox
@jask84 np
Konstantin
@Kuklus23
Help me please!
CamperBot
@camperbot
no wiki entry for: me please
Konstantin
@Kuklus23
How do task number 130?
Jas K
@jask84
@alpox also, just wanted your quick opinion on whether the way I am doing it is the best way? Because I have a feeling my click handler really isnt the most efficient way. But if youre busy, no worries. Appreciate the help
Konstantin
@Kuklus23
I can not will do this.
Nathan
@natertot12
@Kuklus23 What do you need help on?
alpox
@alpox
@jask84 You can put the click event for .box outside of the userfunc, otherwise you will add one each time userfunc is called. Thats why you even had to use .off