Need help figuring out cause for "row" alignment issue - SOLVED

Need help figuring out cause for "row" alignment issue - SOLVED
0

#1

Hi Everyone,

New to coding and freecodecamp.com. I’m trying to work through an issue I’m having with some code that involves “row” alignment.

My goal is to have:
img … title … img

But what I’m getting is:
img
title…img

My codepen pagehttps://codepen.io/MauMau4/pen/ezJrJQ for reference.
The code in question is lines 12-23.

Any suggestions on where I made the error would be greatly appreciated.

Thank you,
MauMau4


#2

The “col-xs-n” have to add up to 12.

8+2.5+2.5 = 13.

Change the "2.5"s to "2"s. I just tried that, and it lined up like you want.


#3

Thanks babarastl!! That did it. Missed that “col-xs-n” has to add up to 12. :slight_smile:


#4

Awesome! This was the first time I was able to help anyone here! lol