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 trialRafail Zintro
230 PointsI cannot see image in preview?
Hello! I followed Nick's instructions well and typed the code correctly, but when I preview my code the image doesn't show up! I have tried everything from checking the extension, folder and image name, so my only concern is that the mistake could be in my code. Can somebody check it and validate it?
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Rafail Zintro | Graphic Designer</title> </head> <body> <header> <a href="index.html"> <h1>Rafail Zinto</h1> <h2>Graphic Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portofolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <section> <ul> <li> <img src="img/numbers-01.jpg" alt=""> </li> </ul> </section> <footer> <p>Ā© 2014 Rafail Zintro.</p> </footer> </body> </html>
3 Answers
Jason Anders
Treehouse Moderator 145,860 PointsHey Rafail,
I don't see anything wrong with the code. All syntax and tags are correct. File names seem correct. My only guess would be something in your browser settings that is preventing the image from rendering.
Try using a different browser and see if it still doesn't show up. But, your code is fine.
:)
Akash malhotra
3,025 PointsClose the html tag
Rafail Zintro
230 PointsHello everyone Thank you for answering, and I'm glad to say that I found my solution! I had left the Preview tab open, and in the workspace when I clicked preview it just sent me to the Preview tab I'd loaded minutes ago and didn't update it unless I refreshed. Hope everyone else who might have had this problem finds this solution helpful. Again thank you for responding! :-)
Jason Anders
Treehouse Moderator 145,860 PointsI'm glad you solved it!