DEV Community

loading...

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

Collapse
namstel profile image
Namstel

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!

Collapse
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! πŸ’―