You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: js/lesson1/tutorial.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,7 @@ browsers. It is used to change what is displayed on a web page in
12
12
response to user activity.
13
13
14
14
This tutorial is intended to give you a very brief introduction to JavaScript. It
15
-
barely scratches the surface of all the things that you can do with it - this
16
-
one is intended to be just enough for you to understand our next
17
-
tutorials that do more interesting things.
15
+
barely scratches the surface of all the things that you can do with it - it is enough for you to understand our next tutorials that do more interesting things.
18
16
19
17
Most words in programming have special meanings. We're going to take
20
18
some time during this tutorial to explain what some of the commonly used words mean. Words which mean a specific thing will be marked in **bold**. Try to remember them, as it's important for you to understand what other programmers mean when they use them, and what the documentation means when you read it. You can always look back at this tutorial later to remind yourself.
@@ -109,18 +107,18 @@ value of two numbers with a `+` sign between them is those two numbers
109
107
added together.
110
108
111
109
112
-
> Now that you've learnt how to some simple maths, why not try out some more in your console?
110
+
> Now that you've learnt how to do some simple maths, why not try out some more examples in your console?
113
111
114
112
115
-
But, on websites we don't just see numbers so we want to do things with words too. A value containing letters is a **string**, and you write it in quotes. Try typing
113
+
On websites however, we don't just see numbers so we want to do things with words too. A value containing letters is a **string**, and you write it in quotes. Try typing
116
114
`'Hello'` on the console. Like before, you'll see it repeated back to you.
117
115
118
116
Try `'Hello' + 'there'`. You should see it combine the two strings
119
117
into one. The value of two strings with a `+` sign between them is
120
118
those two strings **concatenated**. You'll also see that it's missing a
121
119
space - can you fix that?
122
120
123
-
> Now that you've learnt how to concatenate 2 strings, trying practising a few more so you become more comfortable with it?
121
+
> Now that you've learnt how to concatenate 2 strings, trying practising more so you become more comfortable with it
124
122
125
123
Try typing `Hello` without any quotes around it. See how you get
126
124
an error about `Hello` not being defined? Words that are not wrapped
0 commit comments