Skip to content

Commit 850ff91

Browse files
committed
Clarify early string exercise expectations.
1 parent 76bc9c5 commit 850ff91

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

exercises/01.expressions-and-output/01.problem.hello-world/README.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ console.log("Double quotes work too")
2424
follow consistent style rules. If you have one installed (like
2525
[Prettier](https://prettier.io/)), it may automatically change your quotes
2626
when you save the file. For example, it might convert double quotes to single
27-
quotes. That's okay! The code will still work the same way.
27+
quotes. That's okay! The output stays the same either way.
2828
</callout-info>
2929

3030
🐨 Once you've completed the exercise, run `node index.ts` in the playground to

exercises/01.expressions-and-output/02.problem.escaping-strings/README.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,9 @@ console.log('Name:\tKody') // Prints with a tab between
4949
💰 Remember: use `\'` to escape single quotes, `\"` to escape double quotes,
5050
`\n` for newlines, and `\t` for tabs!
5151

52+
<callout-info>
53+
The playground also prints some extra output from `@kentcdodds/log-module`.
54+
That's normal and not part of your `console.log()` calls.
55+
</callout-info>
56+
5257
📜 [Escape sequences on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#escape_sequences)

exercises/01.expressions-and-output/03.problem.strings/README.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ strings exactly as they are!
2222

2323
<callout-warning>
2424
If you're using an AI editor, the editor might try to avoid the extra `+`
25-
because you can write this more easily without it.
25+
because you can write this more easily without it. The tests for this step
26+
check for `+` concatenation, so avoid template literals here.
2627
</callout-warning>

0 commit comments

Comments
 (0)