The test requires that I move the circle around the canvas using keys w,a,s,d .I tried using the keydown event, with a function that updates the x and y co-ordinates, but it does not work.
This is a link to my code: https://campsell.w3spaces.com/saved-from-Tryit-2022-10-12.html
This is the link to the task: Test your skills: Events - Learn web development | MDN (mozilla.org)
Thank you in anticipation