Codehs JavaScript 2.13.6 random color square

1 answer

// This code will create a square with a random color
fill(random(0, 255), random(0, 255), random(0, 255));
rect(50, 50, 100, 100);
Similar Questions
  1. Random color square JavaScriptWrite a program that draws a random color square centered on the graphics canvas. The sides of the
    1. answers icon 1 answer
  2. Random color square JavaScriptWrite a program that draws a random color square centered on the graphics canvas. The sides of the
    1. answers icon 0 answers
  3. Random color square JavaScriptWrite a program that draws a random color square centered on the graphics canvas. The sides of the
    1. answers icon 1 answer
  4. 2.13.6 Random Color SquareWrite a program that draws a random color square centered on the graphics canvas. The sides of the
    1. answers icon 3 answers
more similar questions