diff --git a/script.js b/script.js index bbe8a29..fb2a69b 100644 --- a/script.js +++ b/script.js @@ -1,4 +1,22 @@ -var main = function (input) { - var myOutputValue = 'hello world'; - return myOutputValue; +var myOutputValue = ''; + +var lineCounter = 0; + +while (lineCounter < input) { + var columnCounter = 0; + + while (columnCounter < input) { + myOutputValue = myOutputValue + '👍'; + + columnCounter = columnCounter + 1; + } + + // start a new line + myOutputValue = myOutputValue + '
'; + + lineCounter = lineCounter + 1; +} + +return myOutputValue; }; +