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
Azrul Zulkifli
Ah, the autoupdate!
Of course! Alright @coymeetsworld , this dropbox plotline has steered me off course, thanks for reminding me to stay on track, haha. Will get back to the API.
azrulnaut sends brownie points to @coymeetsworld :sparkles: :thumbsup: :sparkles:
:warning: azrulnaut already gave coymeetsworld points
Coy Sanders
right, you got me worried i might go over my calls too so i shut it off lol @azrulnaut thanks for that idea
coymeetsworld sends brownie points to @azrulnaut :sparkles: :thumbsup: :sparkles:
:star: 278 | @azrulnaut | http://www.freecodecamp.com/azrulnaut
Hemang Kumar
Brian Kilrain
@hemangsk strange… the preview within the git chat window appears to work. But when I open the codepen in my browser, it doesn’t.
I just tried it in firefox… that worked. does codepen not play nice with chrome? or could it be one of my plugins is messing things up?
@hemangsk thank you for working this out with me
Hemang Kumar
@bkilrain np..it was great learning.. thank you
hemangsk sends brownie points to @bkilrain :sparkles: :thumbsup: :sparkles:
:star: 279 | @bkilrain | http://www.freecodecamp.com/bkilrain
Brian Kilrain
it was one of my plugins… thanks again!
Hemang Kumar
Good luck :)
Pedro Figueiredo
Hi, I am stuck with http://www.freecodecamp.com/challenges/no-repeats-please algorithm challenge, any help?
The problem is not the code, it is the math. I cannot reproduce the tests
Chris Hinton
Anyone have time to help with a problem on my portfolio zipline?
post your problem
On the last page, I'm trying to figure out why the Twitter button is pushed out of the div on the right hand side. Also, trying to figure out why its rounded at the top.
Ken Haduch
@hintcj - I'll take a quick look...
Azrul Zulkifli
@hintcj The rounded top of the first button and rounded bottom of the last button seems to be a style of ".btn-group-vertical"
replacing that class with your own should do the trick
Chris Hinton
@azrulnaut okay awesome. That helps with that problem. Thanks!
hintcj sends brownie points to @azrulnaut :sparkles: :thumbsup: :sparkles:
:star: 279 | @azrulnaut | http://www.freecodecamp.com/azrulnaut
Chris Hinton
I just don't understand why the twitter button is pushed over
Ken Haduch
@hintcj - it is picking up a margin from somewhere, I think it is the btn-default class, but the others are having it overridden somehow. I was trying to figure this out but thought that you had an answer...
@hintcj - you are defining a .btn-default class, which has a margin 10px on it. For some reason that is getting overridden on the other buttons, but not the first.
@hintcj - the buttons other than the first in the .btn-group-vertical are being treated differently. If you take that btn-default class off of those buttons, it will change the placement. Maybe you need to do something else?
Chris Hinton
@khaduch I was thinking it was a margin, too. I'm trying to go through the inspector on chrome and see whats affecting it
Ken Haduch
@hintcj - it is definitely your .btn-default. If you need to provide some separation between the buttons, you could change it to margin-top and margin-bottom so it doesn't have that margin all the way around. The btn-group-vertical is also adding some extra styling like the rounded corners. You can define your own styling to make that grouping.
Chris Hinton
@khaduch Okay yeah, that's definitely it. I'm going to remove it and then create my own class to get rid of the problem
@khaduch Thanks for the help!
hintcj sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star: 608 | @khaduch | http://www.freecodecamp.com/khaduch
Ken Haduch
@hintcj - you're welcome. Hope you get it all shaped up as you want it! Have a great day!
John Otu

Guys, what would be the best idea to arrange a JSON that will carry grocery data for a store in such a manner that the price and quantity of each item can be easily updated? I have tried:

var goodsInStock = {
    beverages: {
        coffee: {Nescaffe:[20, 200], ReCaffe[10, 300]},
        tea: {Lipton:[5, 50], richTea:[3, 45]},
        juice: {ribena:[4, 200], fivealive[3, 300]},
        softDrink: {},
        other: {}

but it doesn't seem to work. Displaying the goodsInStock object shows the array of quantity and price as "object"

Amir Ghafouri
Trying to get my drop down menu to sit on the same row as my h1 element... help? Tried messing around with display: inline-block; but not sure if I'm making a mistake with CSS selector syntax or wrong approach entirely. Maybe just use bootstrap row? Would still like to hear how to do it with inline-block if possible..

@amirghafouri you can use a span like so:

<h1><span><button class="btn btn-primary dropdown-toggle inline" type="button" data-toggle="dropdown">select category <span class="caret"></span></button>
        <ul class="dropdown-menu">
          <li class="dropdown-header">Gaming</li>
          <li><a href="#">FIFA 16</a></li>
          <li><a href="#">League of Legends</a></li>
          <li><a href="#">Poker</a></li>
          <li class="divider"></li>
          <li class="dropdown-header">Creative</li>
          <li><a href="#">Art</a></li>
          <li><a href="#">Coding</a></li>
          <li><a href="#">Music</a></li>
        </ul></span>TWITCH STREAMERS</h1>

You will also need to adjust the width of your content class because the button and h1 are wider then the content.

@amirghafouri alternative with css is to add this to css and then give each element that class:
.inline {
  display: inline-block;
Amir Ghafouri
@Key-Banger Thanks
amirghafouri sends brownie points to @key-banger :sparkles: :thumbsup: :sparkles:
:star: 317 | @key-banger | http://www.freecodecamp.com/key-banger
shameem fairooz
Does anyone have an idea as to how i should build the tribute page?
It's the first project in front end
can someone help me figure out why i have a white line beside my blockquote in this codepen?
need it to be grey