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
CamperBot
@camperbot
:cookie: 144 | @muhammedkarim |http://www.freecodecamp.org/muhammedkarim
Aleksandar Zdravkovski
@azdravkovski
Hi guys. I'm trying to work out a RegEx that would match the following pattern: &A or &E or &EF or &EL. I'm stuck on getting it to match the L or F after the &E. Thanks for your help.
Ghost
@ghost~5a4a80acd73408ce4f859755
@zotamias :+1:
Claudio Restifo
@Marmiz
@azdravkovski it may be a bit biased so need further testing but you can test for &EF or &E
&EF|&EL|&E
Donnie
@Donnie-D
Guys! why is my bootstrap not aligning my text in the middle? lol
https://codepen.io/Donnie-D/pen/YaydRM
anyone?
Aditya
@ezioda004
@Donnie-D Looks like its because the .row has display: flex property
Frosty427
@Frosty427
@Donnie-D remove row
Donnie
@Donnie-D
yes removing row works :+1: but why and whats going on in there? I have done this before with row class lol
Aditya
@ezioda004
@Donnie-D You can add class = justify-content-center in the .row
But anything else you put that in that row will also align it to center.
BS4 uses flexbox for rows so thats why
h1tag
@h1tag
@Donnie-D or you can add bootstrap 3 instead of 4
Donnie
@Donnie-D
how can i add bootstrap3 using codepen search?
h1tag
@h1tag
@Donnie-D google bootstrap cdn
Aditya
@ezioda004
In the CSS menu of codepen you have an option to use BS3 instead of BS4
Donnie
@Donnie-D
@ezioda004 you little legend lol giving me just what i wanna know :+1:
thanks all of you fellas
by the way so if somebody learnt a bit of bootstrap 3 from tutorials, they need to forget about it and learn BS4 now? as BS3 practices dont seem secure. I dont even know what else has changed
Clark Weckmann
@clarkhacks
@Donnie-D You can read about breaking changes and what not here https://github.com/twbs/bootstrap/releases on the release page. Bootstrap 3-4 is very similar in grammar.
Donnie
@Donnie-D
@clarkhacks @h1tag I am trying to read from those links you shared but it seems hard taking them in like this.
I was wondering if a lot more than just a 'text-center' has been updated (I mean is there a glossary of some sort to see changes so one could refer to that if things dont seem to be working?) Or need I take it all in the way its given?
or i dont suppose sticking to BS3 would be recommended since now we have this BS......4 ?
Aditya
@ezioda004
@Donnie-D If something doesnt work when you use BS4, search for it in the official docs, thats how I learned the changes (assuming you know somewhat BS3), also .text-center hasnt been updated, its the other properties that take precedence was causing problem.
Johnny
@JohnnyBizzel
@Donnie-D Learn CSS3 grid. It has almost 100% browser support now.
Aditya
@ezioda004
If you really want some brief glossary then check this out, might help you.
Sorin Ruse
@sorinr
@Donnie-D here a bs4 cheat sheet link
Donnie
@Donnie-D
@JohnnyBizzel I have learnt CSS3 grid :smile: I was wondering refreshing it back now that everyone keeps mentioning of grids and flexeboxes. Yes, that seems like one way to invest some time in :+1:
h1tag
@h1tag

@Donnie-D of course there's a lot more changed than text-center (from the link above). There are some explanations in that link on some under the scene stuff that have changed, and there's a mention of the class names that have been renamed (this, for example).

Now, I don't have much info about this, but you can search online for what has changed (bootstrap 4 vs 3, for example).

And it seems that resources/blogs online advise to use the newer version (4), but the class names in v4 may still change, cause it's still in beta.

Markus Kiili
@Masd925
@JohnnyBizzel Maybe almost 100% on most recent browser versions, but many people don't update their browsers. Must remember that when making production code.
Johnny
@JohnnyBizzel
@Masd925 Well if people don't update their browsers will bootstrap 4 work? Just sayin'
CSS grid is an underlying technology. Bootstrap is an add-on.
Markus Kiili
@Masd925
@JohnnyBizzel If you are for example building a web page that sells something, it must work on grandma's old browser too. So no grid and no ES6.
That is why we have tools like Babel etc.
Donnie
@Donnie-D
lmao grandma's old browser
Johnny
@JohnnyBizzel
Anyway, Bootstrap is good for learning layout.
My grandma's aren't alive so I'm not bothered.
I'm here to learn the new stuff!
Edy1988
@Edy1988
@MuhammedKarim thank you!
CamperBot
@camperbot
edy1988 sends brownie points to @muhammedkarim :sparkles: :thumbsup: :sparkles:
:cookie: 145 | @muhammedkarim |http://www.freecodecamp.org/muhammedkarim
Inga Vaiciakauskaite
@ingava
Can anyone help me with a regex? I've been working on it for two hours and still can't figure it out. So I need to validate a username and the rules for it are the following: it must have at least one letter and can be numbers but no symbols except “_”. So I've come up with a regex that looks like this: ^\w+[a-zA-Z+]$ but for some reason a username 9ddd_ would not pass. Anyone has more experience with regex?
Long Nguyen
@longnt80
@ingava have you tried this:
/\w*[a-zA-Z]\w*/g
Stephen James
@sjames1958gm
@ingava Your regex does not allow an underscore as the final character
Inga Vaiciakauskaite
@ingava
@longnt80 but your regex allows username like this: s9_x_.
Stephen James
@sjames1958gm
@ingava BTW, the + would need to be outside the [] to have its normal effect
Inga Vaiciakauskaite
@ingava
@sjames1958gm oh really, what does it do now then?
Stephen James
@sjames1958gm
@ingava Add in the ^ $ to his
@ingava It allows letters or +
@ingava I believe - beginning to doubt myself :)
Inga Vaiciakauskaite
@ingava
hm, ok, @sjames1958gm and @longnt80 I've combined your suggestions and it looks like it works! This is the final result of the regex: ^\w*[a-zA-Z]\w*$ It looks like I don't need to have the + now