Skip to content

Commit aecdec3

Browse files
authored
Merge pull request #5258 from justinzw/patch-1
Update nodejs-beginners-tutorial.md to fix error
2 parents eaa9ed0 + 79d79db commit aecdec3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hub/dev-environment/javascript/nodejs-beginners-tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ If you have not yet installed Visual Studio Code, return to the prerequisite sec
2525

2626
1. Open your command line and create a new directory: `mkdir HelloNode`, then enter the directory: `cd HelloNode`
2727

28-
2. Create a JavaScript file named "app.js" with a variable named "msg" inside: `echo var msg > app.js`
28+
2. Open the directory in VS Code using the command: `code .`
2929

30-
3. Open the directory and your app.js file in VS Code using the command: `code .`
30+
3. Create a file named "app.js"
3131

32-
4. Add a simple string variable ("Hello World"), then send the contents of the string to your console by entering this in your "app.js" file:
32+
4. Add a simple string "Hello World" to a variable named `msg`, then send the contents of the string to your console by entering this in your "app.js" file:
3333

3434
```js
3535
var msg = 'Hello World';

0 commit comments

Comments
 (0)