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 trialJulianna Kahn
20,702 PointsGallery alignment issues.
When I followed the video, though the gallery displayed in two columns, it stretched from one edge of the screen to the other. It was not a problem with my code because I even ran it using Nick's code. I am working in Chrome. The only way I was able to get it to display correctly was to replace the gallery class code as follows:
.gallery { margin: auto; width: 72%; }
Although after more testing, the alignment isn't really right when making the viewport smaller. And I also noted that the code seems to work using Workspaces. I am working is Visual Studio Code.