Template Literals
Create cleaner strings using template literals.
What you should understand
Read the lesson carefully, study the example, then use the editor below to experiment with the code yourself.
let name = 'Alex'; let age = 18; console.log(`My name is and I am years old.`);
Output
See what your code produces.
Test your understanding
Choose the best answer.
Which method can select an element by its ID?