Browse Source

docs(mouse-trap): fmt with prettier

MohcineDev-master
Harry 3 weeks ago
parent
commit
36735da93b
  1. 1
      subjects/mouse-trap/README.md

1
subjects/mouse-trap/README.md

@ -5,6 +5,7 @@
Develop a trap to capture the elements when the mouse is getting too close to the center of the page.
Create the following functions:
- `createCircle`: make it fire on every click on the page, and create a `div` at the position of the mouse on the screen, setting its `background` to `white` and its class to `circle`.
- `moveCircle`: make it fire when the mouse moves, and get the last circle created and makes it move along with the mouse.

Loading…
Cancel
Save