Skip to content

Commit dd6a988

Browse files
authored
updating checkBox()
1 parent 301d42f commit dd6a988

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/dom/dom.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ function dom(p5, fn){
945945
*
946946
* // Create a checkbox and place it beneath the canvas.
947947
* checkbox = createCheckbox();
948-
* checkbox.position(0, 100);
948+
* checkbox.position(0, 70);
949949
*
950950
* describe('A black square with a checkbox beneath it. The square turns white when the box is checked.');
951951
* }
@@ -971,7 +971,7 @@ function dom(p5, fn){
971971
* // Create a checkbox and place it beneath the canvas.
972972
* // Label the checkbox "white".
973973
* checkbox = createCheckbox(' white');
974-
* checkbox.position(0, 100);
974+
* checkbox.position(0, 70);
975975
*
976976
* describe('A black square with a checkbox labeled "white" beneath it. The square turns white when the box is checked.');
977977
* }
@@ -997,7 +997,7 @@ function dom(p5, fn){
997997
* // Create a checkbox and place it beneath the canvas.
998998
* // Label the checkbox "white" and set its value to true.
999999
* checkbox = createCheckbox(' white', true);
1000-
* checkbox.position(0, 100);
1000+
* checkbox.position(0, 70);
10011001
*
10021002
* describe('A white square with a checkbox labeled "white" beneath it. The square turns black when the box is unchecked.');
10031003
* }

0 commit comments

Comments
 (0)