This step-by-step tutorial guides you through to make a user interactive eyes that will move accordingly to your mouse cursor using Javascript.

In this tutorial, you will learn about conditionals, variables, and basic Javascript to keep track of the user’s cursor and move our eye pupils. Learn to code with our top-notch instructors at First Code Academy. This tutorial is designed by our world-class instructors at First Code Academy for beginners to learn to program with Javascript, and perfect for beginners to dip their toes into web programming. You can find the template to the project below, that contains the HTML and the CSS code to follow along.