Skip to content

The moving eyes project is a fun and interactive coding project where you create a pair of eyes that follow the mouse cursor on a webpage.

License

Notifications You must be signed in to change notification settings

SusanWoodhouse/moving-eyes

Repository files navigation

Moving-Eyes Exercise

This is an exercise developed during MIT xPro Professional Certificate in Coding: Full Stack Development with MERN. It is about moving objects on the screen following the cursor. To achieve this, we should detect the cursor position, store its coordinates to update the eyes position dynamically.

Table of Contents

Installation

To install the Moving-Eyes Exercise, simply clone this repository to your local machine:

git clone https://github.com/susanwoodhouse/Moving-Eyes.git

Usage

To play the Moving-Eyes game, simply open the index.html file in your web browser. You should see a game board with 2 eyes in the center.

The eyes will follow your mouse which ever direction you move it.

Contributing

Contributions are always welcome! If you have any ideas or suggestions for improving this exercise, please feel free to open an issue or submit a pull request.

Roadmap

  • Responsive support

License information

MIT License

Copyright (c) 2023 Susan_Woodhouse

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Files

  • Root
    • eyes.js
    • Moving_Eyes.png's
    • index.html
    • LICENSE
    • README.md
    • styles.css

About

The moving eyes project is a fun and interactive coding project where you create a pair of eyes that follow the mouse cursor on a webpage.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages