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:
parent
479b2775d7
commit
128cba5c08
20
testpage.html
Normal file
20
testpage.html
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user