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
Johnny
@jtan3
yeah
aleksaknezevic
@aleksaknezevic
col-md-5 col-lg-2 and similar?
you can learn many things here but you cant learn to use it all at once
Johnny
@jtan3
are you only learning on fcc?
aleksaknezevic
@aleksaknezevic
no i watch tutorials on yt
Johnny
@jtan3
oh
aleksaknezevic
@aleksaknezevic
you?
Johnny
@jtan3
i think codecademy html/css is pretty good
aleksaknezevic
@aleksaknezevic
i will try it
Johnny
@jtan3
they have bootstrap too
aleksaknezevic
@aleksaknezevic
if you want to learn on yt quentin watt tutorials
the guy is great
Johnny
@jtan3
and then try the fcc tribute page project
aleksaknezevic
@aleksaknezevic
and he have also bootstrap and javascript and htm/css and jquery
i will edit it when i learn bootstrap
Thomas Mullen
@t-mullen
@SkyCoder01 It looks like they fixed that challenge already. Only a matter of time freeCodeCamp/freeCodeCamp#10341
Miguel T Rivera
@mtrivera
Need some help with the Twitch app. I'm trying to create an object with Promises but I am having issues
http://codepen.io/riveratmiguel/pen/mRzrYX
Johnny
@jtan3
i'm stuck on the Twitch project too
not sure what promises is
Johnny
@jtan3
have you finished the project in a different way?
Miguel T Rivera
@mtrivera
@jtan3 No, I tried module but ran into issues so looked for other solutions and promises looks like the best way forward for me
i'm not sure why everyone is offline for mine
Thomas Mullen
@t-mullen
@riveratmiguel then does not return the output of the function you pass into it. It just passes the result of the promise into that function.
Since that's kind of confusing, think of it in callbacks...
get(url).then(JSON.parse);

is the same as...

get(url, function(promiseResult) {
    return JSON.parse(promiseResult);
});

if you had used callbacks instead.

You can see that this doesn't actually return the parsed JSON.
Promises are async, so you can only use their outputs in the resolve function (basically the success callback)
Sorry if that's not clear, promises can be tricky to explain.
Thomas Mullen
@t-mullen
Basically the data you want is passed into the function you give to then, not returned by then.
Miguel T Rivera
@mtrivera
@RationalCoding Thanks! I'll work on it
CamperBot
@camperbot
riveratmiguel sends brownie points to @rationalcoding :sparkles: :thumbsup: :sparkles:
:cookie: 295 | @rationalcoding |http://www.freecodecamp.com/rationalcoding
playingwithinfinity
@playingwithinfinity
How do you make a JS calculator? I can make the click functionality and the actual program, but I have no idea how to make it look like a real calculator? How do I style and arrange the elements?
Miguel T Rivera
@mtrivera
@playingwithinfinity With CSS https://developer.mozilla.org/en-US/docs/Web/CSS
playingwithinfinity
@playingwithinfinity
@riveratmiguel duh
I mean how?
Like make a table? If I make a table, the buttons are too far apart. If I use Bootstrap grid, then again, they are not centered and they are too far apart.
Thomas Mullen
@t-mullen
@playingwithinfinity There's many ways to do it! Try something you think will work, then tweak it until you get close.
playingwithinfinity
@playingwithinfinity
This has to be the most frustrating challenge I've ever done.
Miguel T Rivera
@mtrivera
@playingwithinfinity Look into CSS Grid
https://appendto.com/2017/02/the-basics-of-using-css-grid/
I would not recommend a table. Table layout was popular during the 90's and is considered bad practice (Except HTML emails but that's another story)
playingwithinfinity
@playingwithinfinity
Okay
@riveratmiguel How would a CSS grid differ from Bootstrap grid?
Chase
@Athabasco
Just finished my local weather app
Chase
@Athabasco
Open the pen itself for it to work
Thomas Han Jnr
@thanjnr
@Athabasco temp taking forever to load , on mobile btw
Chase
@Athabasco
@eThomasHan Oh... I haven't formatted anything for mobile
Did you try opening it in a separate window?