Create testpage.html

Provide a test page that uses relevant classes to emulate what the results would look like locally.
This commit is contained in:
sigonasr2, Sig, Sigo 2022-04-28 10:38:05 -05:00 committed by GitHub
parent 479b2775d7
commit 128cba5c08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
testpage.html Normal file
View File

@ -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>