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

2 Answers

Steven Parker
Steven Parker
207,987 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.