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
Jan Shah
go with a reputable cdn and you'll have no issues.
yea i just realize i never ended up using tweenmax so there is no need to load it up
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
@piteto r u talkin about webpack?
@Pagnito no, it is a standard practice in many places
how do u minify all ur resources into one file?
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"?
My main question is, would it make any difference if I was to use the "+" sign?
@Pagnito No, not webpack, something like minify: https://github.com/mrclay/minify
@piteto what about uglify?
I think it is similar, yes @Pagnito
i would need gulp or grunt without using webpack tho?
or can i do it with npm scripts?
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
@piteto k thanks
pagnito sends brownie points to @piteto :sparkles: :thumbsup: :sparkles:
:cookie: 118 | @piteto |http://www.freecodecamp.com/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
@gothamknight thanks for going back and trying to solve my issue from friday. :)
mers89 sends brownie points to @gothamknight :sparkles: :thumbsup: :sparkles:
:cookie: 432 | @gothamknight |http://www.freecodecamp.com/gothamknight
@piteto Thanks
rylew0925 sends brownie points to @piteto :sparkles: :thumbsup: :sparkles:
api offline
Am I the only one who can't log into FCC?
@rylew0925 It's down as we speek
@rylew0925 FCC is currently down and has been reported

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! syscall connect

npm ERR! Error: connect ECONNREFUSED
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
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: '',
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
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
I'm not sure if you can move the body
I would try moving a div background instead
@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
or that could be it too
Doreen Lu
OK. I'll try that.
Marcus Rogers
can anyone help with java?
What do you guys use for responsive text ? Em rem or ..?
Toni Shortsleeve
@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.
hello guys. can i have a help on React.js here?
Toni Shortsleeve
Sorry @gegiskhan . I'm in the baby stages of React myself.
Ben Hart
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?
@Benjmhart i will try and help