Skip to content

Commit 7685ff0

Browse files
author
Julie Kim
authored
minor grammar suggestions
1 parent 4b02949 commit 7685ff0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

1-js/02-first-steps/04-variables/article.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ There are subtle differences between `let` and `var`, but they do not matter for
9999
100100
We can easily grasp the concept of a "variable" if we imagine it as a "box" for data, with a uniquely-named sticker on it.
101101
102-
For instance, the variable `message` can be imagined as a box labelled `"message"` with the value `"Hello!"` in it:
102+
For instance, the variable `message` can be imagined as a box labeled `"message"` with the value `"Hello!"` in it:
103103
104104
![](variable.png)
105105
@@ -298,9 +298,9 @@ Please name the variables sensibly. Take time to think if needed.
298298
299299
Variable naming is one of the most important and complex skills in programming. A quick glance at variable names can reveal which code is written by a beginner and which by an experienced developer.
300300
301-
In a real project, most of the time is spent on modifying and extending the existing code base, rather than writing something completely separate from scratch. And when we return to the code after some time of doing something else, it's much easier to find information that is well-labelled. Or, in other words, when the variables have good names.
301+
In a real project, most of the time is spent on modifying and extending the existing code base, rather than writing something completely separate from scratch. And when we return to the code after some time of doing something else, it's much easier to find information that is well-labeled. Or, in other words, when the variables have good names.
302302
303-
Please spend some time thinking about the right name for a variable before declaring it. That will repay you a lot.
303+
Please spend some time thinking about the right name for a variable before declaring it. This will repay you a lot.
304304
305305
Some good-to-follow rules are:
306306

0 commit comments

Comments
 (0)