diff options
author | Denis McDonald <denis.l.mcdonald@gmail.com> | 2018-10-30 18:49:18 +1100 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-10-31 01:14:37 +0200 |
commit | 6f4721b7335f7f849c04af8c1158067eaf4ddae3 (patch) | |
tree | dcdfa8f4369ee35bd7ea3e21b7bee37f4a5a74f7 /doc/api/synopsis.md | |
parent | 669c6111c1d7ae32ee94e7045067fe2891dd8308 (diff) | |
download | android-node-v8-6f4721b7335f7f849c04af8c1158067eaf4ddae3.tar.gz android-node-v8-6f4721b7335f7f849c04af8c1158067eaf4ddae3.tar.bz2 android-node-v8-6f4721b7335f7f849c04af8c1158067eaf4ddae3.zip |
doc: fix typographical issues
PR-URL: https://github.com/nodejs/node/pull/23970
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/synopsis.md')
-rw-r--r-- | doc/api/synopsis.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/synopsis.md b/doc/api/synopsis.md index d22d684bfb..efbbf54a1a 100644 --- a/doc/api/synopsis.md +++ b/doc/api/synopsis.md @@ -14,7 +14,7 @@ An example of a [web server][] written with Node.js which responds with Commands displayed in this document are shown starting with `$` or `>` to replicate how they would appear in a user's terminal. -Do not include the `$` and `>` character they are there to +Do not include the `$` and `>` characters. They are there to indicate the start of each command. There are many tutorials and examples that follow this @@ -27,8 +27,8 @@ the output of the previous command. Firstly, make sure to have downloaded and installed Node.js. See [this guide][] for further install information. -Now, create an empty project folder called `projects`, navigate into it: -Project folder can be named base on user's current project title but +Now, create an empty project folder called `projects`, then navigate into it. +The project folder can be named based on the user's current project title, but this example will use `projects` as the project folder. Linux and Mac: @@ -60,7 +60,7 @@ hyphens (`-`) or underscores (`_`) to separate multiple words in filenames. Open `hello-world.js` in any preferred text editor and -paste in the following content. +paste in the following content: ```js const http = require('http'); |