HTML / JS Exercise to show mouse tracking with a set of eyes in the middle of the browser.
- Clone repo locally
- Drag and drop
index.html
into browser window (tested in Chrome and Brave) - should see the blacks of the eyes following your mouse on the screen!
- Current eyes are using absolute position, could make adjustable with browser
- Add addtional events like clicks to trigger other actions. e.g. click to change color of eye or browser background