Template literals - example 1
Template literals use the backtick symbol ` ` in stead of the quotes ' ' or " " and allow for breaking over several lines and less need for escaping characters.const helloWorld = {
'name': 'Helloworld',
'text': 'Hello from object!'
};
const hello = 'Hello from constant!';
result1.innerHTML = `
Two hellos:<br>
<br>
One from an object: ${helloWorld.text}<br>
And one from a variable: ${hello}`
RESULT Example 1