8000 minor fixes to level1.js · muses-code-js/js-intro-workshop@6399e83 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6399e83

Browse files
author
Tanya Butenko
committed
minor fixes to level1.js
1 parent 1e09271 commit 6399e83

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

js/level1.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
This line of code will print 'Hello World!' to the browser's console.
4444
4545
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'.
4747
After that a console will appear on the bottom or right side of the page.
4848
More info in the file `Readme.md`
4949
*/
@@ -66,6 +66,13 @@
6666

6767

6868

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+
6976

7077
/*
7178
Variables
@@ -151,7 +158,7 @@
151158
declared (created), and that value can never change. In other words, a
152159
constant always contains the same information.
153160
154-
To declare a constant, we use the keyword 'const'.
161+
To declare (create) a constant, we use the keyword 'const'.
155162
156163
Example:
157164
@@ -286,7 +293,7 @@
286293
// P.S.: Do you know that instead of numbers you can create variables that store
287294
// those numbers and pass them as an arguments to your function? Try it out!
288295

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,
290297
// we will use them again.
291298

292299
/*

0 commit comments

Comments
 (0)
0