Atom is good too or Visual Studio Code.
Both need addons installed that you can do from in-program menu so you can push updated to a web browser.
In VS Code the extension is called LiveServer but there is also one that will open a preview up in a side panel within VS Code I think it is Live HTML Previewer. There is also Live Server Previewer.
If you don't want to download anything and just want to play around, there are lots of on-line tools like:
https://webmaker.app/
or
https://html5-editor.net/
that you can use. When you get the web app you get an HTML editor, CSS editor, and JS editor with a preview pane.
When you get your code working how you like, just copy & paste it to notepad and save the file then change the extension to .html from .txt,
|