Things like linters and validators are great at catching stupid mistakes. If you aren’t ready to install one that checks while you type, then you can use them online, like here and here.
Thank Kevin for the answer. I am in the middle of the Responsive Web Design Certification. I have decided to go all in and give this HTML editor a try: https://www.coffeecup.com/free-editor/ I remember trying it almost 20 years ago! I have decided to rewrite all the code of each lesson in an HTML editor. I will absorb the lesson better if I type all the code and not just what is needed to answer.
I might consider a more generalized editor, like Atom or VSC. They will handle all of your coding needs and come with lots of plugins for just about any language.
Yeah, VSC is a good one. It is the most common editor used by coders, and it’s free. I used Atom for a long time, but switched to VSC at the new job because most people are using that and it has some nice features. The others I see a lot of are Sublime and Web Storm. But VSC is a great place to start.