mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-27 19:00:42 -04:00
fix(curriculum): place comment below example in greeting bot workshop (#59734)
This commit is contained in:
@@ -14,8 +14,8 @@ In the lecture videos, you learned how to work with string concatenation using t
|
||||
```js
|
||||
let firstName = "John";
|
||||
|
||||
// result: "Hello, my name is John."
|
||||
"Hello, my name is " + firstName + ".";
|
||||
// result: "Hello, my name is John."
|
||||
```
|
||||
|
||||
Remember that you need to be mindful of spaces when concatenating strings with variables.
|
||||
|
||||
Reference in New Issue
Block a user