Created
September 12, 2023 03:25
-
-
Save YonatanKra/49200d19e2bed09091a040f85a76fd73 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const template = ` | |
<form class="row" id="greet-form"> | |
<input id="greet-input" placeholder="Enter a name..." /> | |
<button type="submit">Greet</button> | |
</form> | |
<p id="greet-msg"></p> | |
`; | |
export const templateElement = document.createElement('template'); | |
templateElement.innerHTML = template; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment