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 trialSherrie Jeffers
Front End Web Development Techdegree Student 7,909 PointsI dont understand why this code is broken - my photos are taking up the entire screen
here's my snapshot. I have paused the vide at 4:50 ish because the website he pulled up looks nothing like mine...
4 Answers
Steven Parker
231,236 PointsYour css/interactions.css file has a number of differences from the one used in the video:
- yours defines ".photocube" instead of ".photo-cube" (with a hyphen)
- the definition for ".cube-container" does not have a value for the "perspective" property
- the combined sides definition is missing a couple of properties
- the individual definitions for each side are missing
Nnanna Okoli
Front End Web Development Techdegree Graduate 19,181 PointsIgnore my previous comment. I found the error which was my fault.
There was a typo within the css/interation.css folder line 25... I forgot to add the full property of transform-style: preserve-3d.
Once I corrected this I achieved the desired 3D effects :D #winning
Chris Freeman
Treehouse Moderator 68,441 PointsUn-marking as best answer, since it only resolves Nnanna Okoli’s piggybacked question and not the OP.
Nnanna Okoli
Front End Web Development Techdegree Graduate 19,181 PointsHi there,
Could you help with my TH Workspace please, I tried to imitate the code shown on the tutorial and included the update coded due to the rendering changes on browser screens but unfortunately, I still was not able to achieve the 3D desired effects...
My snapshot - https://w.trhou.se/g2c69787o6
Steven Parker
231,236 PointsGood job resolving your own issue!
For future issues, it's better to start a fresh question than ask one as an "answer" to someone else's.
Nnanna Okoli
Front End Web Development Techdegree Graduate 19,181 PointsVery true. Thanks for the heads up!