From 0a870df0c5e6910fe8b5549d7b4d6968014f3518 Mon Sep 17 00:00:00 2001 From: davhojt Date: Sun, 1 May 2022 19:45:18 +0100 Subject: [PATCH] docs(pyramid): correct grammar --- subjects/pyramid/README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/subjects/pyramid/README.md b/subjects/pyramid/README.md index 47b738f7..cab330be 100644 --- a/subjects/pyramid/README.md +++ b/subjects/pyramid/README.md @@ -2,11 +2,7 @@ ### Instructions -Create a `pyramid` function that takes a string and a number as parameters -and return a pyramid constructed by the string passed as argument and with the depth -of the number passed as argument. - -Just like triangle +Create a function named `pyramid` which works just like your `triangle` function. But, it should be pyramid shaped. ### Output example @@ -24,5 +20,5 @@ Just like triangle ### Notions -- [nan-academy.github.io/js-training/examples/loops](https://nan-academy.github.io/js-training/examples/loops.js) -- [nan-academy.github.io/js-training/examples/recursion](https://nan-academy.github.io/js-training/examples/recursion.js) +- [Loops](https://nan-academy.github.io/js-training/examples/loops.js) +- [Recursion](https://nan-academy.github.io/js-training/examples/recursion.js)