const multilineString = `This
is
a
multiline
string
in
javascript`;
let multilineText = `This
is
a
multiline
text`;
console.log(multilineText);
// OPTION 1
var MultilineString = `This
is
a multiline
string`; // Note: use the template quotation marks above the tab key
// OPTION 2
var MultilineString = 'This
is
a multiline
string'; // Note: use the "
" as a newline character
const htmlString = `${user.name} liked your post about strings`;
// Creating multi-line string
var str = `<div class="content">
<h1>This is a heading</h1>
<p>This is a paragraph of text.</p>
</div>`;
// Printing the string
document.write(str);