HTML

Johnny Baltazar
Johnny Baltazar
851 Points

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:

Johnny Baltazar
Johnny Baltazar
851 Points

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