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 trialhaakon Guttormsen
2,157 Pointssections next to each other.
Hi, I am trying to get to sections to lie next to each other. When I refresh my page after writing the same code as in the tutorial (I think), the sections appear under one another. What might be the problem here?
snapshot from workspaces here: https://w.trhou.se/qe1ltwffcp
haakon Guttormsen
2,157 PointsThanks, Now it looks like it should.
Lauren Atkins
7,895 PointsLauren Atkins
7,895 PointsLook in your responsive.css file, the first media query - your primary and secondary IDs are not quite right, because you have defined margin: 50%; instead of width: 50%;
I hope this solves your problem!
Also - I wanted to mention one other error I noticed. Look in main.css, look at your #gallery li rule and at the color property. There should be ; after that hexvalue. It seems small, but it can make life difficult sometimes when those are left out.