We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a85edea commit 89cbb13Copy full SHA for 89cbb13
meme-maker/app.js
@@ -26,9 +26,9 @@ function onMouseMove(event) {
26
}
27
28
29
-function lineWidthChange() {
30
- console.dir(lineWidth.value);
31
- ctx.lineWidth = lineWidth.value;
+function lineWidthChange(event) {
+ console.log(event.target.value);
+ ctx.lineWidth = event.target.value;
32
33
34
canvas.addEventListener("mousemove", onMouseMove);
0 commit comments