Skip to content

Instantly share code, notes, and snippets.

@kyuwoo-choi
Last active May 28, 2018 14:04
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kyuwoo-choi/ea5120e80d28e395642dda54d9b24be2 to your computer and use it in GitHub Desktop.
document.querySelect('#target').innerHTML = [
'<div class="wrapper">',
'<div class="content">',
...
'<div>' + someText + '</div>',
...
'</div>',
'</div>'
].join('');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment