6th Aug 2019, 5:37 PM
coffeecup
coffeecup - avatar
2 Answers
+ 2
JS is case sensitive... modify the two lines: can.width = window.innerWidth; can.height = window.innerHeight; works fine!
6th Aug 2019, 5:54 PM
Michael
Michael - avatar
6th Aug 2019, 5:41 PM
Ayan Fox
Ayan Fox - avatar