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 trial

HTML How to Make a Website Adding Pages to a Website Add Iconography

how to get telephone and contact and twitter images when you are working on this project in pc not on workspaces ?

how to get telephone and contact and twitter images when you are working on this project in pc not on workspaces ? i was trying like .contact-info li.phone a { background-image: url('..\C:\Users\Sidharth\Desktop\Project\css\phone.png'); } this but i am unable to load the pictures can someone help me here in this case

Tushar Singh
Tushar Singh
Courses Plus Student 8,692 Points

lets say you have all your files in a folder name WEBSITE

in that you have files IMG(for images), index.html and css folder.

Path works relative to the index. html

Lets say, there is an image "dog.jpg" in my IMG folder. my path would be "IMG/dogs.jpg"

if you have to get out of some folder just use "../"

3 Answers

Michael Afanasiev
PLUS
Michael Afanasiev
Courses Plus Student 15,596 Points

Hey Anju,

Try changing the path to ../css/phone.png since "Project" is your root folder.

Done with that on my own by the way thanks for suggesting

same thing here.. plz can u tell me how dd u solve this prob