Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Devin Cushard](https://uploads.teamtreehouse.com/production/profile-photos/11691830/micro_20220618_120749.jpg)
Devin Cushard
2,236 PointsNow, will we always be able to use template literals, or will there be times that we will have to concatenate strings?
const name = prompt('What is your name?');
const message = Hello, ${name}. Welcome to my music site. I'm happy that you came by to visit, ${name}. Please come again and listen to more music.
;
console.log(message);
4 Answers
![eotfofiw](https://secure.gravatar.com/avatar/4220d3865ffc1861e4670aba65c43b78?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
eotfofiw
Python Development Techdegree Student 824 PointsThere are still environments out there which don't support template strings. The number of those environments is shrinking drastically - but they do still exist.
When you use something like Typescript or Babel to convert your up to date, full features javascript to a target platform (transpiling), you can tell it what version of the ECMAScript (aka JavaScript) standard you want to target.
At that point, you can still use template strings, and the transpiler will handle converting that into string concatenation for you. So that environments that won't understand the backtick can still work.
A great site to check whether a feature of HTML, CSS or JavaScript can be used in your target environment is "can I use": https://caniuse.com/template-literals - this will tell you whether or not you should use string concatenation.
![Devin Cushard](https://uploads.teamtreehouse.com/production/profile-photos/11691830/micro_20220618_120749.jpg)
Devin Cushard
2,236 PointsVery helpful, thank you!
![Roland Schützenhofer](https://secure.gravatar.com/avatar/a2183b13811adc129a9fa1eeb080fb70?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Roland Schützenhofer
1,364 PointsAlso, as you might learn later, when working with loops, it might make more sense to use concatenation
![Damien Lavizzo](https://uploads.teamtreehouse.com/production/profile-photos/3855812/micro_162711_1788588558621_7001458_n.jpg)
Damien Lavizzo
Courses Plus Student 4,223 PointsWow, great question and great answer!