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

What should I do if launching a preview for resume.html opens a web page for index.html instead?

<!DOCTYPE html> <html> <head> <title>Johnny Baltazar's Resume</title> </head> <body> <img src="http://placeimg.com/200/200/tech" alt="image of Johnny Baltazar"> <h1>Johnny Baltazar, Web Developer</h1> <h2>Summary of Qualifications</h2> <ul> <li>Experience as a freelance web developer</li> <li>Experience with HTML, CSS, and Javascript</li> <li>Bachelor of Science, Project Management</li> </ul> </body> </html>

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Johnny Baltazar! This is expected behavior. Servers know to look for index.html or index.php by default. After you launch the preview, click in the address bar and add /resume.html to the end of the address. Doing that should get you the results you're after.

Alternatively, you could add a link with an <a href="resume.html">Resume</a> somewhere in your index.html file and clicking that would take you to the resume portion.

Hope this helps! :sparkles:

Thank you Jennifer. I eventually figured that out after a little while, from remembering something similar from another module.