Skip to content

Instantly share code, notes, and snippets.

@derekmc
Created March 2, 2025 15:43
Show Gist options
  • Save derekmc/2d0a79e54eed44abae0097bbd8fc53e5 to your computer and use it in GitHub Desktop.
Save derekmc/2d0a79e54eed44abae0097bbd8fc53e5 to your computer and use it in GitHub Desktop.
<h1> Demo App Title </h1>
<p> This is a demo app </p>
<script>
setTimeout(change1, 3000)
function change1(){
document.body.innerHTML = "<button onclick='change2()'>NEXT</button>"
}
function change2(){
document.body.innerHTML = "THE END"
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment