Brackets is one of the best HTML, CSS and text editor for me, is open source and really easy to use, with not too much noise.
So, if you are running Ubuntu and want it, the best way to install it is with snap, so, just enter this command.
snap install brackets
If you get this warning:
error: This revision of snap "brackets" was published using classic confinement and thus may perform arbitrary system changes outside of the security sandbox that snaps are usually confined to, which may put your system at risk. If you understand and want to proceed repeat the command including --classic.
You can run the command again like this:
snap install brackets --classic
Do not do it, if you don't trust brackets.