Skip to content

Commit

Permalink
docs: add missing backticks to introduction-to-nodejs.md (nodejs#7539)
Browse files Browse the repository at this point in the history
Hello,

I've added missing backticks to `introduction-to-nodejs.md`.

I believe that `statusCode`, `200`, and `Content-Type` are code related values, so they must be wrapped in backticks (inline code blocks).

Signed-off-by: 루밀LuMir <rpfos@naver.com>
  • Loading branch information
lumirlumir authored Mar 8, 2025
1 parent 48847aa commit 5cd3b8d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ In this case with:
res.statusCode = 200;
```

we set the statusCode property to 200, to indicate a successful response.
we set the `statusCode` property to `200`, to indicate a successful response.

We set the Content-Type header:
We set the `Content-Type` header:

```js
res.setHeader('Content-Type', 'text/plain');
Expand Down

0 comments on commit 5cd3b8d

Please sign in to comment.