Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Getting Started With ES2015!
You have completed Getting Started With ES2015!
Preview
Template literals are very similar to string literals, but they use backticks (`) instead of single quotes (') or double quotes (").
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
[SOUND] Hi, I'm Joel, a JavaScript
developer and teacher at Treehouse.
0:00
I wanna show you how to
use template literals.
0:00
Template literals create
strings in JavaScript.
0:03
But unlike the quoted
strings you're used to using,
0:06
template literals have some great
features worth knowing about.
0:09
Let's take a look now.
0:13
You know how to create string literals
using single quotes and double quotes.
0:15
And writing template literals is
almost the same, just with backticks.
0:20
The backtick character is in the upper
left-hand corner of a QWERTY keyboard, and
0:25
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up