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
Dylan
@dhcodes
@kaym0 you're probably better off in the main room
Jose Escobar Mejia
@mejiaadonay
Hello guys, I am doing the "Build a Tribute Page" but my question is, do I need to build the same example page or I can build any?
Gary Siu
@GarySiu
@mejiaadonay You're meant to build your own one
Jose Escobar Mejia
@mejiaadonay
Ok thanks @GarySiu
CamperBot
@camperbot
:cookie: 206 | @garysiu |http://www.freecodecamp.com/garysiu
mejiaadonay sends brownie points to @garysiu :sparkles: :thumbsup: :sparkles:
Micah Points
@msp327
@dhcodes They have that class on them already. I fixed their size and that seems to work for the mobile view, but it isn't working for the larger screen. https://codepen.io/msp327/pen/grXEGq
Dylan
@dhcodes
@msp327 you can change this line in your .img-responsive class in the css height: 400px !important;
in other words add !important
and it will make them all uniform
doesn't have to be 400px
Micah Points
@msp327
@dhcodes That's it. This wouldn't be an issue if I resized all the images. Thanks a lot for your help!
CamperBot
@camperbot
msp327 sends brownie points to @dhcodes :sparkles: :thumbsup: :sparkles:
:star2: 1343 | @dhcodes |http://www.freecodecamp.com/dhcodes
Dylan
@dhcodes
np
looked good as is, just figured you were going for a uniform look
Micah Points
@msp327
@dhcodes It definitely looks more put together with uniform images.
Steven Foster
@Rockchalk8985
Need some help not sure why I'm can't get my image in a circle. Help please.
DJ
@qualitymanifest
@Rockchalk8985 you're not giving the URL on your img tag closing quotation marks so it's treating the rest of the img tag like it's in quotation marks
Sorin Ruse
@sorinr
@msp327 i would put the three photos in a carousel
Lauren Conners
@laurenconners
I need to get started on my portfolio, but I'm a little lost as where to start. I get overwhelmed at all the design options.
Trying to find examples online that I like the visual structure of so i can decide and try to recreate something similar.
Mark
@mlawson3691

function addTogether(num1, num2) {
  for (i = 0; i < arguments.length; i++) {
    if (typeof arguments[i] !== 'number') {
      return undefined;
    }
  }
  if (arguments.length > 1) {
    return num1 + num2;
  } else {
    var prev = arguments[0];
    return function(num) {
      return prev + num;
    };
  }
}

addTogether(2,[3]);
I am working on the "Arguments Optional" algorithm and I can't get the last test to pass (where parameters are (2, [3]). I've run it in jsFiddle and it seems to work as expected. Anyone have any ideas? Is this a bug?
function should return undefined because [3] is not a number...
Lauren Conners
@laurenconners
I haven't gotten to the algorithms. Why is 3 inside brackets?
Mark
@mlawson3691
its an array
with the single item 3
Lauren Conners
@laurenconners
Should the array be assigned to a variable, and then it be (2, x)? Would that work?
Or rather, could, not should.
Might be a workaround if codepen the challenge is being buggy for some reaosn.
Mark
@mlawson3691
for the algorithms, you run your code and FCC has preset tests that it runs to make sure your code works, the array is one of their preset tests
so i can't change that :(
Sorin Ruse
@sorinr
@Rockchalk8985 first i would add this to css: a{ color: #ffffff !important; } to make the text on buttons more visible
Lauren Conners
@laurenconners
Darn.
DJ
@qualitymanifest
@mlawson3691 you're almost there
@mlawson3691 in the function you return you also need to check to see if the argument it gets is a number or not, and then either do math or return undefined accordingly
you won't need a loop since it's only supposed to take one argument
Mark
@mlawson3691
i don't follow. the second half is where it does the math
the loop first checks to make sure inputs are numbers. if so, it drops to the bottom where it either does the math (with two numbers) or returns a function (with one number)
DJ
@qualitymanifest
@mlawson3691 i'm talking about the anonymous function here
return function(num) {
      return prev + num;
  };
you need to check the argument that that function receives
If either argument isn't a valid number, return undefined.
Mark
@mlawson3691
right, the loop takes care of that, no?
DJ
@qualitymanifest
@mlawson3691 no, since the loop can't see the argument that that function gets
Mark
@mlawson3691
ohhhhhh...
i was reading "addTogether(2)(3)" as "addTogether(2,3)"
the 3's there are supposed to be in []
thank you for helping me see that @qualitymanifest