diff --git a/curriculum/challenges/english/25-front-end-development/lab-pyramid-generator/66f2836c459cfb16ae76f24f.md b/curriculum/challenges/english/25-front-end-development/lab-pyramid-generator/66f2836c459cfb16ae76f24f.md index b57632df90a..02875018f2b 100644 --- a/curriculum/challenges/english/25-front-end-development/lab-pyramid-generator/66f2836c459cfb16ae76f24f.md +++ b/curriculum/challenges/english/25-front-end-development/lab-pyramid-generator/66f2836c459cfb16ae76f24f.md @@ -21,7 +21,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab 1. Each row should start with a number of spaces sufficient to put the center character of each row in the same column. 1. The pyramid should start and end with a newline character. -For example, calling `pyramid('o', 4, false)` should give this output: +For example, calling `pyramid("o", 4, false)` should give this output: ```js @@ -46,16 +46,16 @@ Your `pyramid` function should have three parameters. assert.lengthOf(pyramid, 3); ``` -`pyramid('o', 4, false)` should return `"\n o\n ooo\n ooooo\nooooooo\n"`. +`pyramid("o", 4, false)` should return `"\n o\n ooo\n ooooo\nooooooo\n"`. ```js -assert.equal(pyramid('o', 4, false), "\n o\n ooo\n ooooo\nooooooo\n") +assert.equal(pyramid("o", 4, false), "\n o\n ooo\n ooooo\nooooooo\n") ``` -`pyramid('p', 5, true)` should return `"\nppppppppp\p ppppppp\n ppppp\n ppp\n p\n"`. +`pyramid("p", 5, true)` should return `"\nppppppppp\p ppppppp\n ppppp\n ppp\n p\n"`. ```js -assert.equal(pyramid('p', 5, true), "\nppppppppp\n ppppppp\n ppppp\n ppp\n p\n") +assert.equal(pyramid("p", 5, true), "\nppppppppp\n ppppppp\n ppppp\n ppp\n p\n") ``` # --seed--