Create testpage.html

Provide a test page that uses relevant classes to emulate what the results would look like locally.
main
sigonasr2, Sig, Sigo 3 years ago committed by GitHub
parent 479b2775d7
commit 128cba5c08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      testpage.html

@ -0,0 +1,20 @@
<head>
<link rel="stylesheet" href="examples.css">
</head>
<div id="output">
<p class="slideInText" id="slideInText">
Test 1<br>
</p>
</div>
<script type="text/javascript">
const box = document.getElementById("output")
var msgnumb=2;
setInterval(()=>{
if (Math.random()<=0.5) {
const l = document.createElement("p");
l.innerText="Test Message "+(msgnumb++)
l.className="slideInText"
box.appendChild(l)
}
},2000)
</script>
Loading…
Cancel
Save