i need help in this question Draw a smiley face that will take its color from a
ID: 3618941 • Letter: I
Question
i need help in this questionDraw a smiley face that will take its color from a drop downlist. The eyes should be following the mouse all the time, andwhenever the eyes are crossed, it should be changed to a sad face,and the color of the face should be red. Also whenever the mouse isinside one of the eyes, the pupil of both eyes should move togetherfollowing the mouse, so for example, if the mouse enters the righteye, then the right eye’s pupil will follow the exactlocation of the mouse, and the left eye’s pupil will takemotion as the right eye’s pupil.
Explanation / Answer
//hope this will helpyou.hope this link will help you.
http://erif.org/code/smiley/
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.