...

/

Solution: Move by a Certain Number

Solution: Move by a Certain Number

Solve the challenge using concepts learned so far.

Customizing behavior based on user input

Add the JavaScript code logic to move the box by user input (We've already added the HTML code for you). Instead of moving the box by a fixed amount, let the user type how many pixels they want the box to move.

Below are some hints to help you get started: ...