Hello Stack Overflow Community, Can anyone explain me this piece of code ?
// Create a function that returns HTML with data
const myBox = (title, description) =>
`<div class="box"><h3>${title}</h3><div>${description}</div></div>`;
I understand the basic functionality of it, but I cannot understand the `` that is around the <div>
and the ${title}
and ${description}
part.
I would be really glad if anyone could help me. Thanks.