Skip to content
← Back to Community
Cannot read property of undefined?
Profile icon
AdCharity

I am trying to make an Oregon Trail game from scratch (all code and pictures by me so don't steal them) with HTML, CSS, and JS and practice my dom manipulation (so no canvas tag). I'm trying to make a type writer effect, but I can't seem to get it to work - it returns "can't read property of undefined" or "charAt() is not a function". Can someone explain the issue here?

Edit: I got the typing thing to work. On the otherhand, I can't convert it into a function >:(

Voters
Profile icon
Xiaoyuchen
Profile icon
ZacPlayz
Profile icon
JunhaoZhang1
Profile icon
meg_crenshaw
Profile icon
AdCharity
Comments
hotnewtop
Profile icon
HackermonDev

repl gone :C

Profile icon
AdCharity

@PDanielY oof the project is pretty much scrapped. If you want the code with the images, I can give em to you if you're interested.

Profile icon
AdCharity

@PDanielY should be up now

Screenshot 2019-12-20 at 17.03.54

There's no actual content; just the home screen