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
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
@max77p you didn't specify the colour in the css
for blockquote?
Azrul Zulkifli
@max77p That white line is the default styling for blockquote by Bootstrap
@max77p yes
add something like this:
border-left: 10px solid red;
ohh ok, thanks! had no idea! thought it was something wrong with my grid lines @AliciadW @azrulnaut
max77p sends brownie points to @aliciadw and @azrulnaut :sparkles: :thumbsup: :sparkles:
:star: 319 | @aliciadw | http://www.freecodecamp.com/aliciadw
:star: 280 | @azrulnaut | http://www.freecodecamp.com/azrulnaut
HI all. Could someone please have a look at my code and tell me why it doesn't work? Been at it for some time now so I might be missing something small or huge... http://codepen.io/AliciadW/pen/ONLQey?editors=1010
Gordon Davidescu
Hi all! I have tic tac toe nearly done. there's ONE weird problem. if a couple of moves are done, for some reason, the far right middle tile can't be clicked anymore for player move.