r/learnjavascript • • Feb 28 '26

how to add player inputs?

so i wonder how you add player inputs cause i want to add a moving car to my program

0 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/Physical-Bid6508 Mar 03 '26

I am not asking AI that's the name of my existence. My code worked fine it is just that when I tried to do addEventListener("W". Spikes) it wouldn't react not even with a message telling me somethings wrong with my script