Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nodejs-beginners-tutorial.md to fix error #5258

Open
wants to merge 1 commit into
base: docs
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions hub/dev-environment/javascript/nodejs-beginners-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ If you have not yet installed Visual Studio Code, return to the prerequisite sec

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

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

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

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:
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:

```js
var msg = 'Hello World';
Expand Down