Skip to content
Sign upLog in

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.

You are viewing a single comment. View All
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 👍