P5.js interfering with my normal js?


I’m trying to figure out why my typewriter effect wont work with my existing p5.js sketch?

gif to give some explanation (https://gyazo.com/0421c071bdb4a2b5ecd0dfdf3ec3e66d)

Basically, I created a whole new html file without the use of p5.js and the typeout script worked fine. Now when I try to implement it into my html file using p5.js it just doesn’t work.

Any help is appreciated!