<html lang="en" dir="ltr">
document.getElementById("test").innerText = "Test";
I would be grateful, if anybody can help me!
I tried to reproduce the problem, it seems to work just fine.
Make sure your test.js is in the same directory with your html file,
Try changing the src=“test.js” to src="./test.js" maybe…
I tried both, but it doesn’t seem to work.
It would be easier to help you, if you hosted your content somewhere: www.codepen.io is a good place to start.
My recommendation is to put your work in a CodePen, and share the link with us, here.