Ask coding questions

← Back to all posts
why doesnt my code work
soonam (0)

Just wanted to check a quick HTML example , but it doesnt print out a result on the DOM as expected. ( This is regarding the index.html file only)

Commentshotnewtop
eankeen (614)

hey!

it looks like you created a nodejs repl when it seems you are looking for the html, css, js repl.

try using the html, css, js repl instead

if you really want to use nodejs, you would have to look into serving files with nodejs

hope that helped :)

eankeen (614)

@soonam hehe glad I could help :)