Skip to content

Instantly share code, notes, and snippets.

@m3l1nd4
Created May 19, 2021 06:03
Show Gist options
  • Save m3l1nd4/0d1300bbb9ba297bb3cc4c49e1dc5e51 to your computer and use it in GitHub Desktop.
Save m3l1nd4/0d1300bbb9ba297bb3cc4c49e1dc5e51 to your computer and use it in GitHub Desktop.
// Display Text When There Is No Thread/Comment Added
const noContent = (title, text) => {
return `
<div class="card-content card-content-padding">
<div class="item-subtitle">${title}</div>
<p class="date" id="text">${text}</p>
</div>
`;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment