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

JavaScript JavaScript Basics Hello, JavaScript! Add JavaScript to HTML

Couldnt get the dialog box after following the instructions.

The whole thing is modified instead.

To something like this Index of / [ICO] Name Last modified Size Description [DIR] css/ 2020-05-16 12:11 -
[DIR] js/ 2020-05-16 11:54 -
Apache/2.4.18 (Ubuntu) Server at port-80-h3qmlx63r6.treehouse-app.com Port 80

2 Answers

Steven Parker
Steven Parker
231,268 Points

You're seeing the default display the server shows when there is no "landing page".

Your "index.html" file would normally be shown instead, but it's located in the wrong place. Right now it's inside the "css" folder, but if you move it to the main folder the preview will work as expected.

thanks