DEV Community


Discussion on: How to Create Multi-Line String with Template Literals

namstel profile image

I love template literals. I remember having to write HTML templates with the '"\n" +'-notation. So messy, so easy to make mistakes. Great article for beginners!

samanthaming profile image
Samantha Ming Author

Same! And you pointed out the biggest benefit, it helps reduce errors. That’s why clean code so important, it makes it easier to spot errors. And template literals definitely accomplishes that! πŸ’―