Skip to content
Sign upLog in
← Back to Community

document is not defined

Profile icon
caioHatoum1

i want to know what's hapning with my index.js, im calling for de document, there is a script tag with the source code in my HTML doc. but is not working.

Voters
Profile icon
LanaKareem
Profile icon
caioHatoum1
Comments
hotnewtop
Profile icon
Vandesm14

You are running a Nodejs repl. What you want is an HTML repl.

Profile icon
caioHatoum1

@Vandesm14
thank u very much my friend

Profile icon
Vandesm14

@caioHatoum1
Please mark my comment as the answer if I resolved your issue 👍