Pyramid-generator/step-64 Web page break

On step 64, using this code causes the webpage to break, While trying to figure out what i need to do i put a + after the = and it broke i have no idea why, some sort of bug?

for (let i = 0; i < count; i =+ 1) {

You need to add + sign before = equal.
@stroudy91

And it’s better that you should link your topic to the challenge step.

Good evening Hasan, I figured out the solution but for some reason that code i submitted was causing the web page to crash, Wanted to report it as it may be a bug.

It’s not a bug in the sense that code runs without crashing or throwing an error. However, it’s a logical error because i =+ 1 doesn’t behave as expected in a loop;
@stroudy91

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.