This lesson from Envato Tuts+'s free 30 Days to Learn HTML & CSS course explains why to write code in a dedicated code editor rather than a plain text editor. It is aimed at people starting out with HTML and CSS.
What you’ll learn
✓Explain why a dedicated code editor suits writing HTML and CSS
✓Choose a code editor in place of a plain text editor