Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • Jun 19 2020 20:09
    @krisb1220 banned @Gastony
  • May 14 2020 22:39
    @bjorno43 banned @minitechtips_twitter
  • May 14 2020 22:38
    @bjorno43 banned @real-action
  • Feb 01 2020 00:27
    @bjorno43 banned @Ndoua
  • Jan 07 2020 03:10
    @bjorno43 banned @doctor-sam
  • Aug 17 2019 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 2019 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 2019 17:13
    @mstellaluna banned @cmal
  • Jan 08 2019 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
@gmengler np :smile: i had the same problem... looking thru docs for an hour+ before realizing i can just do it with a link lol
Greg Engler
actually figured it out through the docs surprisingly, and that never happens
haha nice ... i'm in the same boat right now with bootstrap doc
trying to figure out how to make the form and the "search wikipedia" button centered thru bootstrap
i know it can be done with css with margins but i'm trying to learn the bootstrap way for responsive content
Greg Engler
hmmm I think I've dealt with something like that before, lemme check
does codepen automatically "run" your code when you make an edit or do you have to click something?
it usually autoruns but i believe theres an option in settings to turn that off (in case you're using apis and dont' want it calling everytime you edit)
Abraham Anak Agung
you could turn it off in setting -> behavior -> auto updating preview
Greg Engler
@JoEeeezy_twitter definitely struggling to get that centered
@gmengler even though it seems so straightforward in the docs.. the bootstrap grid confuses me when i start using it
@gmengler i just ended up using css :eyes: :
Greg Engler
did it work?
yeah i used this:
.center-block {
    margin-left: auto;
    margin-right: auto;
    display: block;
Greg Engler
nice - you might be able to get it working with bootstrap by making the columns smaller, but not sure
it's been a while since I was really using bootstrap
same here ... i kind of rushed through the bootstrap tutorials to get to javascript :smile:
Ken Haduch
@JoEeeezy_twitter - looks like you are using bootstrap 4 - it uses flexbox, and there is a class that does the center alignment - justify-content-center
@khaduch I've used display: block; margin-left: auto; margin-right: auto;
it works proper on my page
Ken Haduch
@dhavalveera - yes, I think that @JoEeeezy_twitter was trying to use bootstrap, if you look at his comments from a while ago. So i just looked up the information and listed it. (For Bootstrap V4.)
then put just-content: center in tag
then maybe it works
Ken Haduch
@dhavalveera - yes, but bootstrap has a class that sets that property. If you're intent on using Bootstrap, at least in v4, that's what they provide. You can always add custom CSS if you want to. If not, then you can use the classes that they defined. Both should work.
but if we use Bootstrap 4 then we can't the style of that tag
either custom css or in Bootstrap
it is not changing quickly
thanks @DarrenfJ for all your help
codernewby sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2448 | @darrenfj |http://www.freecodecamp.org/darrenfj
i think in that challenge the result will be same why the result is different ?
hey all
I need a little help
Sweet Coding :)
@eabg ask away
not understanding what is the missing link in this code:
Screen Shot 2018-04-03 at 12.11.01 AM.png
Screen Shot 2018-04-03 at 12.11.18 AM.png
Sweet Coding :)
@eabg it should be $('.btn').on('click'....
you're missing . before btn
oh man really? let me check it out
Sweet Coding :)
and also, in your html, there is no element that has class="btn"
so it's not going to work either way
Do you want to attach event handlers to all your buttons?
From the html you've shared, you need to do
I orginally had button with no luck
so I tried that out and nothing