Text not centering.. ughh!

Text not centering.. ughh!
0

#1

I’m a noob trying to do the tribute page challenge and my text just WON’T center, even thought it’s a copy paste from the example.

I tried the same code on another website called bootply and it centers just fine.

Link to pen: https://codepen.io/basyager/pen/MmzmBR

btw, If I remove the row div, it centers… I have no idea why it does that…


#2

it’s because codepen uses bootstrap 4!

my code works in Version 3.0.0

Does that mean I need to learn how to use version 4 now?


#3

Hey, I had this same issue… nearly pulled out my hair :stuck_out_tongue:
check out https://github.com/freeCodeCamp/freeCodeCamp/issues/14169 - they raised that it was an issue that it pulls bootstrap 4 in PEN but to make it work you need 3.5 like in the video.
I only figured this out by going into the example pen and copying the link in his instead of just “pulling” bootstrap like in the video. you can use : https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css

All will be well :slight_smile: