From 81a7637f8e519c73b7791449d25f32ddfab046e5 Mon Sep 17 00:00:00 2001 From: nelsonic Date: Sat, 5 Aug 2023 06:58:26 +0100 Subject: [PATCH] add explicit instruction to create a new directory for the project closes: #21 #24 #31 #67 --- README.md | 7 ++++++- lib/server.js | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3652b79..86b718d 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ build a **Todo List App _from scratch_** in **`JavaScript`**. + alt="Try the Demo on GitHub Pages!"> Step one: learn JavaScript! @@ -206,8 +206,13 @@ and We will be using **JSDOC** for documentation. Please see [our tutorial](https://github.com/dwyl/learn-jsdoc) if this is new to you. +
+ #### Create Files +Create a **`new`** directory e.g: `/todo-app` +So that you can build the Todo List from scratch! + In your editor/terminal create the following files: + `test/todo-app.test.js` diff --git a/lib/server.js b/lib/server.js index d7771da..d5c6e0e 100644 --- a/lib/server.js +++ b/lib/server.js @@ -1,4 +1,4 @@ -// Zero Dependencies Node.js HTTP Server for running static on Heroku +// Zero Dependencies Node.js HTTP Server for running static on localhost var http = require('http'); var fs = require('fs'); var path = require('path');