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
Simon Miller
@simonmillerr
really appreciate it
h1tag
@h1tag
@DmitriiVacula do you mean the image in the header?
if yes, right click the image, then choose copy image location
greggy
@glonsdale
Afternoon yall
I'm trying to call the wikipedia api. when i paste my url into my browser it shows me the JSON
but my ajax call isnt working
it just says request cancelled
kirbyedy
@kirbyedy
@simonmillerr command+alt+I
Gulsvi
@gulsvi
@glonsdale Are you using a form and seeing the page refresh?
greggy
@glonsdale
any ideas what might be causing this?
yes
ive tried all combos of http/https
Gulsvi
@gulsvi
The default behavior of a form is to submit the data and refresh the page - you can prevent that with the preventDefault method
Simon Miller
@simonmillerr
ayy thanks @kirbyedy
CamperBot
@camperbot
simonmillerr sends brownie points to @kirbyedy :sparkles: :thumbsup: :sparkles:
:star2: 1989 | @kirbyedy |http://www.freecodecamp.com/kirbyedy
greggy
@glonsdale
ah i see
let me try that
Ene Catalin
@EneCatalin
so I've got another question, how can bootstrap override my css when I include my css file after ?
Ene Catalin
@EneCatalin
so I include bootstrap, then I include mine. I thought the order or inclusion mattered
I just realized this after I got blocked and tried an !important to check
Gulsvi
@gulsvi
@EneCatalin The order should matter - bootstrap's utility classes use !important though, and then order won't matter. It could also be a matter of how you have it set up in codepen
There's also the issue of CSS specificity - if bootstrap's CSS is more specific than yours on some elements, they win
Ene Catalin
@EneCatalin
I am using my local pc for this
anyway, thanks for the tip
also, for good practice, if I use an !important should I do something after ? Like say at the top/bot of my page I used that tag or anything ? It seems like a headache waiting to happen
h1tag
@h1tag
@JordyDew actually your bootstrap still needs some work. I'll be here for one more hour. If you get here before I leave, we will work on it . If not, then tomorrow
Gulsvi
@gulsvi
@EneCatalin As a good practice, you should never use !important - 99.999% of the time, there is another way
Ene Catalin
@EneCatalin
I had that feeling
Gulsvi
@gulsvi
Ask here and we'll help you find the right selector so you don't have to use !important
Ene Catalin
@EneCatalin
this creates a problem for me, wait, I am trying to figure it out
Joe Avery
@javery0
Hey, basically trying to align an image (inside of a div) to the center and for some reason just cannot get it to work
Ene Catalin
@EneCatalin
so I am trying to modify the breadcrumb padding. It took me a while (retarded) to realize the trick to making text stick over an image (css background image) so I went ahead and put that in a bootstrap crumble element
now the crumble thingy went with the width of my text so, of course, I decided to pad it and discovered it works, but only the bottom half. Top is stuck
Gulsvi
@gulsvi
@javery0 What's your code look like?
Ene Catalin
@EneCatalin
and I can't really center my text (or I have no idea how to) without adding equal padding to both top and bot
h1tag
@h1tag
Gulsvi
@gulsvi
@EneCatalin Are you using bootstrap 4 or 3?
Joe Avery
@javery0
Thanks man
Gulsvi
@gulsvi
Bootstrap 4 has vertical alignment classes built in
Ene Catalin
@EneCatalin
ooooooooooooooops
massive fuck up, it turns out it works in codepen
so my previous css is probably interfering
h1tag
@h1tag
lol
Ene Catalin
@EneCatalin
thing is, I haven't touched the breadcrumb class before so I am really stuck
nvm
3 lines above
h1tag
@h1tag
me neither