Hi
I tried this javascript program in a HTML-page created in an asp.net web application (.Net Framework) in Visual Studio 2022. It doesn't work, I mean, the text remains at its original position.
But if i remove the first line , then it works. Can somebody explain me how come?
Thanks
V
This is a text.

Sam HobbsRank #107 · 20.5K reputationPosted Aug 24, 2022, 2:28 PM EDT
Valerie MeunierRank #1,526 · 1K reputationPosted Aug 25, 2022, 12:25 PM EDT