Question
Create an app that does the following: 1. Starts with a box 100px by 100px (red in color) on the top left corner of the
Create an app that does the following:
1. Starts with a box 100px by 100px (red in color) on the top left corner of the screen.
2. Every time I click the button, make the box go to the next corner and randomly change color (animated)
use javascript mixed with webkit animations to transition the coordinates + the color of the box.
please be sure to make the box go to the next corner when clicked(4 corners)
THIS IS WHAT I HAVE AND IS WRONG
this only makes the box moving from left to right, (clicking or not), and I need that the box do NOT reset to the original position
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started