The problem is to render a triangle like so:
##
###
####
#####
######
#######
My code is
var Triangle = "#", IncreaserOfTheNumberOfTriangles = "#", Counter = 1
while (Counter < 8)
console.log(Triangle)
Triangle + IncreaserOFTheNumberOfTriangles
Counter = Counter + 1
To me it seems fine but when I press enter after inputting the while(counter <8) bit into the chrome console I get SyntaxError Unexpected token. How can I fix this?
Side question > is there a place where I can find all the QWERTY keyboard keymaps( I think that's the word) in visual format preferably? I want to change my keys.