square.setBorderColor(Color.WHITE);

Let's break down the code to understand how it works.

Here is the accepted, functional code that passes the CodeHS auto-grader.

advanced-floating-content-close-btn
9.1.7 checkerboard v2 answers
CHAT [ifso id="20911"] [ifso id="20911"]