Recently, I've been using Stackblitz as my IDE to improve my coding skills on my Chromebook. While it has been effective in many ways, I have encountered difficulties when trying to integrate the p5 library. As a beginner in programming, I only grasp the fundamentals at this point.
I included the p5 dependency and added the p5.js file while linking it in the HTML code. However, I am still facing issues.
If everything was functioning properly, the draw function would continuously call itself and display the specified background and square shapes. When I attempt to invoke the function in the typical JavaScript manner, an error message pops up saying "background is not defined", indicating that the p5 library is not being executed correctly.