Skip to content

Commit 7fa460a

Browse files
authored
fix(curriculum): update single quote to double quotes for strings (freeCodeCamp#56992)
1 parent bb16ab9 commit 7fa460a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

curriculum/challenges/english/25-front-end-development/lab-pyramid-generator/66f2836c459cfb16ae76f24f.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab
2121
1. Each row should start with a number of spaces sufficient to put the center character of each row in the same column.
2222
1. The pyramid should start and end with a newline character.
2323

24-
For example, calling `pyramid('o', 4, false)` should give this output:
24+
For example, calling `pyramid("o", 4, false)` should give this output:
2525

2626
```js
2727

@@ -46,16 +46,16 @@ Your `pyramid` function should have three parameters.
4646
assert.lengthOf(pyramid, 3);
4747
```
4848

49-
`pyramid('o', 4, false)` should return `"\n o\n ooo\n ooooo\nooooooo\n"`.
49+
`pyramid("o", 4, false)` should return `"\n o\n ooo\n ooooo\nooooooo\n"`.
5050

5151
```js
52-
assert.equal(pyramid('o', 4, false), "\n o\n ooo\n ooooo\nooooooo\n")
52+
assert.equal(pyramid("o", 4, false), "\n o\n ooo\n ooooo\nooooooo\n")
5353
```
5454

55-
`pyramid('p', 5, true)` should return `"\nppppppppp\p ppppppp\n ppppp\n ppp\n p\n"`.
55+
`pyramid("p", 5, true)` should return `"\nppppppppp\p ppppppp\n ppppp\n ppp\n p\n"`.
5656

5757
```js
58-
assert.equal(pyramid('p', 5, true), "\nppppppppp\n ppppppp\n ppppp\n ppp\n p\n")
58+
assert.equal(pyramid("p", 5, true), "\nppppppppp\n ppppppp\n ppppp\n ppp\n p\n")
5959
```
6060

6161
# --seed--

0 commit comments

Comments
 (0)