Skip to content

Commit 90075b8

Browse files
committed
Minor markup fixes.
1 parent 94a4e83 commit 90075b8

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

problems/for-loop/problem.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ for (var i = 0; i < 10; i++) {
1313

1414
The variable `i` is used to track how many times the loop has run.
1515

16-
The statement `i < 10;` indicates the limit of the loop.
16+
The statement `i < 10;` indicates the limit of the loop.
1717
It will continue to loop if `i` is less than `10`.
1818

1919
The statement `i++` increases the variable `i` by 1 each loop.
2020

2121
## The challenge:
2222

23-
Create a file named for-loop.js.
23+
Create a file named `for-loop.js`.
2424

2525
In that file define a variable named `total` and make it equal the number `0`.
2626

2727
Define a second variable named `limit` and make it equal the number `10`.
2828

29-
Create a for loop with a variable `i` starting at 0 and increasing by 1 each time through the loop. The loop should run as long as `i` is less than `limit`.
29+
Create a for loop with a variable `i` starting at 0 and increasing by 1 each time through the loop. The loop should run as long as `i` is less than `limit`.
3030

3131
On each iteration of the loop, add the number `i` to the `total` variable. To do this, you can use this statement:
3232

problems/function-arguments/problem.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ The above example will print to the terminal `hello world`.
2222

2323
## The challenge:
2424

25-
Create a file named function-arguments.js.
25+
Create a file named `function-arguments.js`.
2626

27-
In that file, define a function named `math` that takes three arguments. It's important for you to understand that arguments names are only used to reference them.
27+
In that file, define a function named `math` that takes three arguments. It's important for you to understand that arguments names are only used to reference them.
2828

29-
Name each argument as you like.
29+
Name each argument as you like.
3030

3131
The function `math` should multiply the second and third arguments, then add the first argument to the outcome of the multiplication and return the value obtained.
3232

3333
After that, inside the parentheses of `console.log()`, call the `math()` function with the number 53 as first argument, the number 61 as second and the number 67 as third argument.
3434

3535
Check to see if your program is correct by running this command:
3636

37-
`javascripting verify function-arguments.js`
37+
`javascripting verify function-arguments.js`
3838

3939
---

problems/functions/problem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The above example assumes that the `example` function will take a number as an a
2222

2323
## The challenge:
2424

25-
Create a file named functions.js.
25+
Create a file named `functions.js`.
2626

2727
In that file, define a function named `eat` that takes an argument named `food`
2828
that is expected to be a string.
@@ -37,6 +37,6 @@ Inside of the parentheses of `console.log()`, call the `eat()` function with the
3737

3838
Check to see if your program is correct by running this command:
3939

40-
`javascripting verify functions.js`
40+
`javascripting verify functions.js`
4141

4242
---

problems/numbers/problem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ also known as floats, like `3.14`, `1.5`, or `100.7893423`.
77

88
## The challenge:
99

10-
Create a file named numbers.js.
10+
Create a file named `numbers.js`.
1111

1212
In that file define a variable named `example` that references the integer `123456789`.
1313

problems/rounding-numbers/problem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In this challenge we'll use the `Math` object to round numbers.
1010

1111
## The challenge:
1212

13-
Create a file named rounding-numbers.js.
13+
Create a file named `rounding-numbers.js`.
1414

1515
In that file define a variable named `roundUp` that references the float `1.5`.
1616

problems/string-length/problem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Make sure there is a period between `example` and `length`.
1515

1616
The above code will return a **number** for the total number of characters in the string.
1717

18-
Create a file named string-length.js.
18+
Create a file named `string-length.js`.
1919

2020
In that file, create a variable named `example`.
2121

0 commit comments

Comments
 (0)