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

tyler raisey
PLUS
tyler raisey
Courses Plus Student 1,461 Points

images not showing in my browser, they are showing in my preview of my workspaces but not in my browser??

downloaded atom and my workspace but images are not appearing on my browser. I am using windows

2 Answers

tomd
tomd
16,701 Points

Have you downloaded the images and added them to your working directory? The path to them might also be wrong.

tyler raisey
PLUS
tyler raisey
Courses Plus Student 1,461 Points

index.html <div>

<img src="img/featured.jpg" alt="VR User"> <p><strong>Virtual reality</strong> is becoming well known as a form of entertainment, but its also finding its way into fields like education, industrial design, healthcare and so much more! </p> <a href="https://teamtreehouse.com/tracks"target="_blank">Start Your VR Journey</a> </div>

    <main>
  <section id="about">
  <h2>About this site</h2>
  <p><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span> Suspendisse vehicula metus in bibendum laoreet. Aenean libero est, egestas eu eros pretium, sodales iaculis est.</p>
    <figure>
    <img src="img/vr-space.jpg" alt="User experiencing in VR">
      <figcaption>
      Virtual reality users can explore faraway places and feel as though they are right in the middle of the action.

      </figcaption>
    </figure>
  </section>

  <section id="articles">
      <h2>Latest VR Articles</h2>

Articles.html

<!DOCTYPE html> <html> <head> <title>VR Article</title> </head>

<body> <div> <header> <h1>VR Article</h1> <p>A simple blog about virtual reality experiences</p> <nav> <ul> <li><a href="../../index.html">Home</a></li> <li><a href="../../index.html#about">About</a></li> <li><a href="../../index.html#articles">Articles</a></li> <li><a href="../../index.html#contact">Contact</a></li> </ul> </nav> </header>

<article id="Vr-Article"> <header> <h2>VR Article</h2> <p>By: Nick Pettit</p> <p>Published: June 2018 </p> </header> <img src="img/vr-user.jpg" alt= "user trying a VR headset">