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 trialB Trewin
480 PointsImage Not Appearing on Page
I have switched from firefox to chrome, cleared my cache, and double checked that the image is saved to the workspaces, but the image hasn't shown up on the page yet. Do you have any other suggestions? Below is the code.
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>B | Learner</title> </head> <body> <header> <a href="index.html"> <h1>B</h1> <h2>Learner</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</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="1"> </li> </ul> </section> <footer> <p>Ā© 2016 B.</p> </footer> </body> </html>
2 Answers
Mark Truitt
17,230 PointsHi B,
The problem is within your code.
<img src"img/numbers-01.jpg" alt="1">
And it should be
<img src="img/numbers-01.jpg" alt="1">
Please also look at the Markdown Cheatsheet when posting. This makes it easier for people to help you.
B Trewin
480 PointsThanks, Mark. I copied the code you provided and I'm still not seeing the image.
b
B Trewin
480 PointsGot it. I had to capitalize the i in Img/numbers-01.jpg for it to work.
Thanks again, Mark!
Mark Truitt
17,230 PointsMark Truitt
17,230 PointsI had to save the workspace to make it show up then control+ F5 on a PC to force it to refresh/purge cache.