const name = 'ethan';
const hi = `Hello. I'm ${name}.`;
let detail = 'Hello.
I'm
Ethan';
console.log(detail); >>>> ERROR!!
Rather, you should do like this:
let detail = 'Hello.\n'+'I'm\n'+'Ethan';
HOWEVER, in template literal, you can write strings with multiple sentences.
const email = 'yealee.kim87@gmail.com';
console.log(email.startsWith('ye'));
console.log(email.endsWith('com'));
console.log(email.includes('@gmail'));