Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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