Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLouis Samuel
12,529 PointsSpacing - margin classes m-t-1 / m-b-1 not working at all. Can anyone help ?!?!
Checked against documentation etc., correct bs version......
I can't work it out...... Can anyone help?!?!?!
Ethan Ede
11,575 PointsHi Louis, I had this same issue. After looking into it, I found a few changes from the current version of Bootstrap 4 beta and the code used in the video. Try "mt-1" vs "m-t-1" and follow that pattern with all margin and padding classes. The others I noticed related to the push, pull, and float elements, all of which use slightly tweaked class names from those prior. Refer to the documentation at getbootstrap.com for more info.
Also, I reserve the right to be incorrect here - if so, your comments are appreciated.
Hope this helps! Code on...
Louis Samuel
12,529 PointsThanks Ethan!
I've changed the class names as you suggested and spacing now works fine.
I was looking at the wrong documentation......
Louis Samuel
12,529 PointsLouis Samuel
12,529 PointsI've tried it on js fiddle too.......
https://jsfiddle.net/nwogjsd4/