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
Daniel Slatkin
@DSlatkin
Then justify-content:center works to center everything? Unless you want to only vertically center header and keep test underneath that (I've just realized)
Andre Morise
@AndreMorise
@DSlatkin OF COURSE! Life saver. Thank you!
CamperBot
@camperbot
andremorise sends brownie points to @dslatkin :sparkles: :thumbsup: :sparkles:
:cookie: 115 | @dslatkin |http://www.freecodecamp.org/dslatkin
Daniel Slatkin
@DSlatkin
:) I'm a newbie to this stuff but just started using flexbox and ran into similar things with height! So hopefully my advice works.
Nate Mallison
@NJM8
@AndreMorise Did it work? I was looking at the code for the tester, seems like they want it to be top left but my CSS skills leave something to be desired
Andre Morise
@AndreMorise
@NJM8 @DSlatkin Yeah it worked, adding a height to #main.
added*
Calat
@latimercaleb
Thanks @khaduch
CamperBot
@camperbot
latimercaleb sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 3794 | @khaduch |http://www.freecodecamp.org/khaduch
Nate Mallison
@NJM8
I'm still drooling over that hamburger to X animation
Andre Morise
@AndreMorise
haha, yeah that's just from the beta program's test suite
Nate Mallison
@NJM8
@mbsyaswanth Add this to the class for the books: transition: all 0.5s; transform: translateX(100%);
Then make a js function so that when you click the button to show them it will add a class of visible. then define visible in your css like this
.visible {
  transform: translateX(0%);
}
it's not to fancy but I think it will do what you have now
Jacob Pieczynski
@JacobPie
I need serious help. I am on the intermediate algorithm challenges, and I am having extreme difficulty. I am having to look at the solution about every time and I just feel lost. Is this normal? Or am I just way behind? Should I just keep trucking, even though I have to look at the solutions?
Thanks
Nate Mallison
@NJM8
@JacobPie Is FCC your only programming experience?
Ken Haduch
@khaduch
@JacobPie - and are the concepts that have to be applied (math, physics, etc.) making it more difficult to understand what you're trying to do?
Jacob Pieczynski
@JacobPie
@NJM8 Yeah.
@khaduch Yeah. I'm thirteen, so a lot of this stuff goes over my head. I get frustrated easily and that kind of makes me cave into looking at the solutions. Most of the time, however, I just have no idea what I'm doing.
Nate Mallison
@NJM8
@JacobPie Programming isn't easy, and many times you many just need more practice and a different perspective. There have been things I couldn't learn from FCC because it wasn't explained in a way that made sense to me.
Jacob Pieczynski
@JacobPie
@NJM8 Like what? Where did you learn those things?
I understand the HTML and CSS pretty well, and I have a decent knowledge of JS. But when I go to algorithms, I just am lost
Nate Mallison
@NJM8
@JacobPie Just take your time, if you have a hard problem break it down into the steps you know how to do. then keep doing that until the solution presents itself
Jacob Pieczynski
@JacobPie
@NJM8 Thanks
CamperBot
@camperbot
jacobpie sends brownie points to @njm8 :sparkles: :thumbsup: :sparkles:
:cookie: 321 | @njm8 |http://www.freecodecamp.org/njm8
Nate Mallison
@NJM8
I found doing challenges on codewars helps a lot, also rithmschool.com has some really good content
@JacobPie My other tip of the day is to read a problem, think about it, go do something else for awhile and let your brain work on it. Then just chip away bit by bit. You have plenty of time to learn!
Jacob Pieczynski
@JacobPie
@NJM8 I'll check those out. Have a great day!
Nate Mallison
@NJM8
You too
KatECN11
@KatECN11
I have an easy one! I'm new to coding entirely and am working on my Tribute Page. I have an image, but I want to center it. I'm trying to find the answer on my own, but haven't come across anything that works yet. Could you point me in the right direction so I can research how to find the answers! Thanks!
Jacob Pieczynski
@JacobPie
@KatECN11 Check out margins.
KatECN11
@KatECN11
Would I need to create a border around the image to use margins?
Daniel Slatkin
@DSlatkin
@KatECN11 Have you gone over any CSS yet in FCC?
KatECN11
@KatECN11
Yes, I successfully centered my text, but not my image
Jacob Pieczynski
@JacobPie
@KatECN11 How did you center the text? text-align: center; ?
KatECN11
@KatECN11
yes, exactly
Daniel Slatkin
@DSlatkin
If so... You may want to look at the text-align CSS property for whatever tag contains the image. For example if it's <div><img src="..."></div> then if div has a text-align property set to center on it, the image should be centered.
KatECN11
@KatECN11
@DSlatkin YES!!!
That worked!!!
I had the text-align: center as an inline style attribute on the text and not on the div. I moved it to the div and now it's all centered!
Daniel Slatkin
@DSlatkin
:) Alternatively if the image is not in-line with text (i.e. if it stands on its own) then img {margin-left: auto; margin-right: auto;} will center it - but the image can't be in-line with text in that case
Glad it worked!
Jacob Pieczynski
@JacobPie
I personally always use margin: auto; for that kind of thing
KatECN11
@KatECN11
I'm trying the margin: auto that both of you suggest (it's not an inline image) and it doesn't seem to center.
Daniel Slatkin
@DSlatkin
Can you copy and paste the code inside ``` marks?