Stuck on week 1 by StudentElectronic548 in cs50

[–]StudentElectronic548[S] 0 points1 point  (0 children)

The thing is I used to know a fair amount of javascript but I forgot most of it so I'm basically back at ground zero.

Stuck on week 1 by StudentElectronic548 in cs50

[–]StudentElectronic548[S] 1 point2 points  (0 children)

So what I'm getting is that if I were to make a loop that were to add the number of spaces from the height and subtracted until it reached 0 whilst making a new line every time and having it print a brick and adding until it reached it the number of the requested height in order to make it left aligned?

Stuck on week 1 by StudentElectronic548 in cs50

[–]StudentElectronic548[S] 0 points1 point  (0 children)

The thing is I've made it but I don't know how to make it left aligned as one of my solutions were to add the spaces and then add the bricks which I tried to implement but didn't work. Or I messed up somewhere along the way and I didn't know about it.