This repository has been archived by the owner on Jul 5, 2022. It is now read-only.
Cannot read properties of null (reading 'appendChild') #3338
Unanswered
fampeeters
asked this question in
Q&A
Replies: 1 comment
-
Of course, the only thing necessary is to add a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The videos about p5.js on TheCodingTrain are fantastic! I now downloaded a course p5.js in Dutch for my students and in every example of that course there is a line in the function setup():
canvas.parent('processing');
I believe the line is meant to create a div in the html.
However, I get an error message every time I use this line:
TypeError: Cannot read properties of null (reading 'appendChild')
I just comment that line so that it is ignored. But can I solve the problem in a different way so that I can keep all the examples with this line included?
Beta Was this translation helpful? Give feedback.
All reactions