Coding Challenge: HTML Canvas with Moving Object
Apply the knowledge you gained in the previous lesson to solving this challenging task.
We'll cover the following
Task introduction
This is the second challenge task for you to practice the concepts learned in the previous lesson.
For this task, you need to modify the update()
function discussed in the previous lesson to move the square horizontally, instead of moving it vertically.
Get hands-on with 1200+ tech skills courses.