how to write HTML texts into a HTML file - hogehoge666/syno_moments_slider GitHub Wiki
- Create a div tag with an id set to "output."
- On VSCode, type "#output," press tab, and VSCode will create a div tag for you.
<div id="output"></div>
- get the div element you just created by the id name and set any HTML texts to its innerHTML.
document.getElementById('output').innerHTML = '<h2>Hello World!</h2>';