In this Javascript code-along video I show beginner programmers how to use event listeners to track mouse clicks and mouse movement.
Come join me to improve your coding skills!
While it’s not a tutorial as such this video looks at:
- declaring variables – using
letandconst - using functions
- using event listeners to detect the
clickevent - using event listeners to detect the
mousemoveevent - basic drawing on the HTML Canvas element
The idea behind this code-along series is that practicing a little every day is a great way to improve your programming skills. Rather than coming up with your own projects you can code along with me. Then experiment and take the code to the next level.
Find all of the code-along Javascript in this public GitHub repository:
https://github.com/nilsm/code-along
Here is the video – enjoy and let me know in the video’s comments if you have any questions!
Leave a Reply