Skip to content

Commit

Permalink
Update project_basic_informational_site.md
Browse files Browse the repository at this point in the history
Under the instructions of the Project: Basic Informational Site assignment, on instruction two (2), the bulleted-list hints, I propose that the file extension should be added to the hints to provide a clearer meaning to readers. With the way it's right now, readers are being instructed to access the file pathname which does not exist. With my server running I tried to access the links or pages as described in the assignment instructions, it's the 404.html page that is always returned. The pages are served correctly when I add the `.html` extension to the file name. Rather than this:

- [localhost:8080](http://localhost:8080/) should take users to index.html
- [localhost:8080/about](http://localhost:8080/about) should take users to about.html
- [localhost:8080/contact-me](http://localhost:8080/contact-me) should take users to contact-me.html
- 404.html should display any time the user tries to go to a page not listed above.

It should be this way:

- [localhost:8080](http://localhost:8080/) should take users to index.html
- [localhost:8080/about.html](http://localhost:8080/about.html) should take users to about.html
- [localhost:8080/contact-me.html](http://localhost:8080/contact-me.html) should take users to contact-me.html
- 404.html should display any time the user tries to go to a page not listed above.
  • Loading branch information
standiki authored Jan 14, 2025
1 parent 2c2586b commit a8d83e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ If you get stuck at anytime, feel free to go back to the [Getting Started lesson

2. Create your node.js server file `index.js` and add the code needed to serve the right page according to the url.
- [localhost:8080](http://localhost:8080) should take users to index.html
- [localhost:8080/about](http://localhost:8080/about) should take users to about.html
- [localhost:8080/contact-me](http://localhost:8080/contact-me) should take users to contact-me.html
- [localhost:8080/about.html](http://localhost:8080/about.html) should take users to about.html
- [localhost:8080/contact-me.html](http://localhost:8080/contact-me.html) should take users to contact-me.html
- 404.html should display any time the user tries to go to a page not listed above.
</div>

Expand Down

0 comments on commit a8d83e4

Please sign in to comment.