I'm trying to render my code in a browser to test if it works, but no luck?

I’ve named the text file “test.html”. It still just opens up in code. URL still shows it’s a txt file despite this. Can anyone help?

Hi! You have to remove .txt extension

1 Like


Still no luck. Seems to persist as txt file?

That’s strange. Also try to remove the space from the folder name and open the file again

1 Like

Solved.

Explorer → folder options → uncheck hide file extensions for known files

Thanks for the reply

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.