Make It Click

Our drawing area needs to draw a dot when clicked. We start by testing that our SVG code can draw dots. The test passes, but a visual check shows that nothing appeared. We’ll need to manually experiment with SVG to figure this out, so we switch gears for a moment and test-drive the click event handler we’ll need for manual testing.

comments powered by Disqus