Skip to content

Commit 8fad4f1

Browse files
committed
Update nodejs.md
Sentence restructuring.
1 parent 49b9870 commit 8fad4f1

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

en/server-side/nodejs.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,14 @@ This should print the version number of Node.js like this:
2626
```bash
2727
v20.7.0
2828
```
29-
## Running the Node.js REPL
29+
## Node.js REPL
3030

31-
REPL stands for Read Evaluate Print Loop, and allows you to run code from the terminal.
32-
Type into your terminal this command:
31+
REPL is a command line interface that stands for Read Evaluate Print Loop, which enables you to run code from the terminal. To get started, type the following command into your terminal:
3332

3433
```bash
3534
node
3635
```
37-
In this prompt, you can run code, like this:
36+
Once you enter this prompt, you can run code, like this:
3837

3938
```js
4039
> console.log("Hello World")
@@ -65,13 +64,13 @@ Hello World!
6564

6665
Express is a popular web framework for Node.js. It provides a simple and elegant API for building web applications. Let's use Express to create a simple web server that will respond to HTTP requests with a "Hello World!" message.
6766

68-
But before we install Express, we must first run this in order to set up npm, javascript's package manager:
67+
First, we need to initialize npm by running npm init.
6968

7069
```bash
7170
npm init
7271
```
7372

74-
Then, you install express
73+
Then, install express
7574

7675
```bash
7776
npm install express

0 commit comments

Comments
 (0)