diff --git a/exercises/08 - Fun with HTML5 Canvas/index.html b/exercises/08 - Fun with HTML5 Canvas/index.html index 354589f..920e4bf 100644 --- a/exercises/08 - Fun with HTML5 Canvas/index.html +++ b/exercises/08 - Fun with HTML5 Canvas/index.html @@ -46,7 +46,7 @@ ctx.stroke(); // Draw the defined path on the canvas // Ternary operator to reset/increase hue value - hue >= 360 ? 0 : hue++; + hue >= 360 ? hue = 0 : hue++; // Ternary operator to increase/decrease line width increaseLineWidth ? ctx.lineWidth++ : ctx.lineWidth--;