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
Kevin Galang
@kgalang
I need more context to help you out
@kgalang Im working on a challenge
Kaz Baig
@kbaig
@Naiguy1 You have to only change code inside the function
Try using a for loop
Ian
@Naiguy1
@Naiguy1 You have to only change code inside the function
what does that mean
oh, for loop
Kaz Baig
@kbaig
function factorialize(num) {
  // in here
}

// not here
Ian
@Naiguy1
ok oll try that
Kevin Galang
@kgalang
Only leave the default code outside of the function
Ian
@Naiguy1
this is what i did and it is still being weird function factorialize(num) {
var factorialize = 1 2 3 4 5 == num;
var factorialize(5);
return num;
}
Kaz Baig
@kbaig
@Naiguy1 can you explain the logic you're trying to follow
var factorialize(5) is invalid code
you use the var keyword to define variables with the name that comes right after them
Ian
@Naiguy1
it said it wasn't defined so I put "var"
function factorialize(num) {
var factorialize = 1 2 3 4 5 == num;
return num;
}
factorialize(5);
but it still is wrong
Kaz Baig
@kbaig
var factorialize = 1 * 2 * 3 * 4 * 5 == num;
what are you trying to do here
the above code means "does 120 equal num"?
Ian
@Naiguy1
Multiply it by every positive integer less than or equal to it
Kaz Baig
@kbaig
You need to go through the logic of how to calculate a factorial for any number, and try to implement that
Ian
@Naiguy1
ok, how do I make sure it it is positive
Kaz Baig
@kbaig
Well, what logical steps do you have in mind right now?
Ian
@Naiguy1
Using < ,>,and <= to make it a less than or equal to it but positive.
Kaz Baig
@kbaig
No I mean in plain english, what steps do you take to go from a number to the factorial of that number
Ian
@Naiguy1
I have to multiply it by every positive integer that is less than or equal to it. So I will use <= to find all integers less than or equal to it then, I will use > to narrow it down to all that are above 0.
Then some how i will multiply it by them in order.
How would I get them in order?
Kaz Baig
@kbaig
@Naiguy1 You don't need to manually find all the 0 <= integers <= num. If you do your for loop right, you can get it to do that part for you
Ian
@Naiguy1
like
Kaz Baig
@kbaig
I encourage you to review for loops at this stage
Ian
@Naiguy1
for (if <= num)= true then*(num)
some thing like that?
Ian
@Naiguy1
got it! :)
Kaz Baig
@kbaig
@Naiguy1 good luck!
Stephan Lamoureux
@slamoureux
on chrome dev tools, no matter the screen size my page shows the background image fine. But, when I use it on any browser on a small screen phone, a note 8, or a tablet my background image doesn't show! any ideas?
Dan Lafferty
@DanLaff
@slamoureux Lots of ideas, but too many list without more details - can you share the code?
bv
@binduverma1
I made a template for Random quote generator and I change the text in the html with jquery but I am clueless how to do it with json. Excercise at FCC did not explain. I checked W3 school but do not see how to do it with a Google API.
bv
@binduverma1
Can some one suggest an API for random quote project?
.... how do I know what is format of data on that API
so that I can access it
Tom
@moT01
Marc
@MWBauer
morning, ya'll!
Tom
@moT01
good night man
Marc
@MWBauer
Dont' leave me, man!
Alexx Martínez
@AlexxMart
@Binduverma1 which browser are you using? Firefox has a json viewer so it's easy to see the name of the keys in the json file
pragya1248
@pragya1248
Hey! I m very new to CSS and bootstrap. I am doing a project on profolio making and I m struck with how-to add buttons over background ima