Browse Source

docs: using the term entirely inside unstead of inside (#1996)

pull/1997/head
zanninso 2 years ago committed by GitHub
parent
commit
f93eea6633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      subjects/mouse-trap/README.md

2
subjects/mouse-trap/README.md

@ -9,7 +9,7 @@ Create the following functions:
- `moveCircle`: make it fire when the mouse moves, and get the last circle created and makes it move along with the mouse.
- `setBox`: which creates a box with the class `box` in the center of the page. When a circle is inside that box, it has to be purple (use the CSS global variable `var(--purple)` as its `background`). Once a circle enters the box, it is trapped inside and cannot escape.
- `setBox`: which creates a box with the class `box` in the center of the page. When a circle is entirely inside that box, it has to be purple (use the CSS global variable `var(--purple)` as its `background`). Once a circle enters the box, it is trapped inside and cannot escape.
> Hint: Be careful, a circle cannot overlap the box which has walls of `1px`. It has to be trapped **strictly** inside.

Loading…
Cancel
Save