File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 43
43
This line of code will print 'Hello World!' to the browser's console.
44
44
45
45
P.S.: To see the browser's console you can right click on the window of your
46
- browser (Chrome, Firefox etc) and select 'Inspect' or 'Inspect element'.
46
+ browser (Chrome, Firefox, Opera etc) and select 'Inspect' or 'Inspect element'.
47
47
After that a console will appear on the bottom or right side of the page.
48
48
More info in the file `Readme.md`
49
49
*/
66
66
67
67
68
68
69
+ // TIP: Shortcut to refresh a browser is 'CMD + R' on Mac and 'CTRL + R' on
70
+ // Windows.
71
+
72
+
73
+ // TIP: Shortcut to save changes to file is 'CMD + S' on Mac and 'CTRL + S' on
74
+ // Windows.
75
+
69
76
70
77
/*
71
78
Variables
151
158
declared (created), and that value can never change. In other words, a
152
159
constant always contains the same information.
153
160
154
- To declare a constant, we use the keyword 'const'.
161
+ To declare (create) a constant, we use the keyword 'const'.
155
162
156
163
Example:
157
164
286
293
// P.S.: Do you know that instead of numbers you can create variables that store
287
294
// those numbers and pass them as an arguments to your function? Try it out!
288
295
289
- // P.P.S: Leave the functions as they are, don't comment them out,
296
+ // P.P.S. : Leave the functions as they are, don't comment them out,
290
297
// we will use them again.
291
298
292
299
/*
You can’t perform that action at this time.
0 commit comments