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
Jan Shah
@JanShah
go with a reputable cdn and you'll have no issues.
Pagnito
@Pagnito
yea i just realize i never ended up using tweenmax so there is no need to load it up
piteto
@piteto
usually, you combine all of your resources into one minified file and load it from your server
otherwise, CDN can be required because some browsers limit you to 3-4 resources downloaded at a time from a single server
Pagnito
@Pagnito
@piteto r u talkin about webpack?
Henry
@GitHub-Henry
@Pagnito no, it is a standard practice in many places
Pagnito
@Pagnito
how do u minify all ur resources into one file?
Richard
@rylew0925
In the regular expression lessons, I don't get how the "+" sign affects the code
Appending a plus sign (+) after the selector, e.g. /\d+/g, allows this regular expression to match one or more digits.
Isn't that the same function as the "g"?
Richard
@rylew0925
My main question is, would it make any difference if I was to use the "+" sign?
piteto
@piteto
@Pagnito No, not webpack, something like minify: https://github.com/mrclay/minify
Pagnito
@Pagnito
@piteto what about uglify?
piteto
@piteto
I think it is similar, yes @Pagnito
Pagnito
@Pagnito
i would need gulp or grunt without using webpack tho?
or can i do it with npm scripts?
piteto
@piteto
Those will help with automating your deployment - they're also one-time command line tools too
just open up a command prompt and run the tool to combine everything - or yeah, put it in a npm script and have it done automatically every time you deploy
Pagnito
@Pagnito
@piteto k thanks
CamperBot
@camperbot
pagnito sends brownie points to @piteto :sparkles: :thumbsup: :sparkles:
:cookie: 118 | @piteto |http://www.freecodecamp.com/piteto
piteto
@piteto
@rylew0925 /\d/g will select each digit separately. /\d+/g will select all the digits grouped together.
'12345'.match(/\d+/g); //["12345"]
'12345'.match(/\d/g); // ["1", "2", "3", "4", "5"]
one match vs. multiple matches
Mercy Manrique
@mers89
@gothamknight thanks for going back and trying to solve my issue from friday. :)
CamperBot
@camperbot
mers89 sends brownie points to @gothamknight :sparkles: :thumbsup: :sparkles:
:cookie: 432 | @gothamknight |http://www.freecodecamp.com/gothamknight
Richard
@rylew0925
@piteto Thanks
CamperBot
@camperbot
rylew0925 sends brownie points to @piteto :sparkles: :thumbsup: :sparkles:
api offline
Richard
@rylew0925
Am I the only one who can't log into FCC?
korzo
@korzo
@rylew0925 It's down as we speek
mstellaluna
@mstellaluna
@rylew0925 FCC is currently down and has been reported
Moustapha
@moustaflo

Please help! i'm trying to install npm install async
``
npm ERR! Linux 4.9.17-c9
npm ERR! argv "/home/ubuntu/.nvm/versions/node/v6.11.2/bin/node" "/home/ubuntu/.nvm/versions/node/v6.11.2/bin/npm" "install" "async"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! syscall connect

npm ERR! Error: connect ECONNREFUSED 127.0.0.1:15443
npm ERR! at Object.exports._errnoException (util.js:1020:11)
npm ERR! at exports._exceptionWithHostPort (util.js:1043:20)
npm ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
npm ERR! { Error: connect ECONNREFUSED 127.0.0.1:15443
npm ERR! at Object.exports._errnoException (util.js:1020:11)
npm ERR! at exports._exceptionWithHostPort (util.js:1043:20)
npm ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
npm ERR! code: 'ECONNREFUSED',
npm ERR! errno: 'ECONNREFUSED',
npm ERR! syscall: 'connect',
npm ERR! address: '127.0.0.1',
npm ERR! port: 15443 }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly. See: 'npm help config'

npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/workspace/npm-debug.log
``

Doreen Lu
@ThoughtProvoking
Hello, I'm trying to move the background using the keyframes rule, but the background isn't moving. Can anyone see what's wrong? https://codepen.io/ThoughtProvoking/pen/QqydGE
Coy Sanders
@coymeetsworld
I'm not sure if you can move the body
@ThoughtProvoking
I would try moving a div background instead
piteto
@piteto
@ThoughtProvoking you'll need to give your background a size to be able to use percentages with background-position.
body {
  background: radial-gradient(circle at 0% 50%, black, white);
  background-size: 500vw 200vh;
  animation: 4s linear infinite sky-change;
}
that size is a crazy example, but you get the idea...adjust as needed for the effect you want
Coy Sanders
@coymeetsworld
or that could be it too
Doreen Lu
@ThoughtProvoking
OK. I'll try that.
Thanks
Marcus Rogers
@marcusrogers23
can anyone help with java?
fefo360
@fefo360
What do you guys use for responsive text ? Em rem or ..?
Toni Shortsleeve
@KoniKodes
@fefo360 I like to use 'em'. It seems to give me more control because I can calculate based on the set px. And, I'm not very familiar with rem.
Gegiskhan
@gegiskhan
hello guys. can i have a help on React.js here?
Toni Shortsleeve
@KoniKodes
Sorry @gegiskhan . I'm in the baby stages of React myself.
Ben Hart
@Benjmhart
Hey there, just coming back to a project on the wikipedia API after a long hiatus
I think I'm having some trouble with function scope would someone be able to help me out?
iso
@iso1048
@Benjmhart i will try and help