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 trialJuan Guillermo Mariño
Front End Web Development Techdegree Graduate 19,423 Pointsdevice image not appearing
It looks like I have followed all the steps of this lesson but my device image is still not appearing...
.device {
width: 345px;
height: 589px;
background-image: url('../img/device-hero.png') no-repeat;
}
Caleb Kemp
12,755 Pointsof course I can't see the rest of your code, but I would make sure that "device" is a class name and not a id name. If it is an id name, you have to reference it as "#device". I can't see enough of the code to tell you any more than that.
Jack Spangenberg
643 PointsPlease provide a snapshot of your workspace.
Gustavo Winter
Courses Plus Student 27,382 PointsGustavo Winter
Courses Plus Student 27,382 PointsYour code is right, i guess.
Check the way of the image, name and paste. If it doesnt help, try to open a new project focus only in the background-image.