array stuff in testpage

This commit is contained in:
cuptain 2024-11-01 22:43:18 +11:00
parent 479ee2e6e0
commit 9d23d503e2

View File

@ -1,12 +1,20 @@
<script lang="ts">
var testArray = ["test","test2","test3"];
</script>
<main>
<div>Test</div>
<div class="testLinks">
{#each {length: testArray.length} as _, i}
<li>{testArray[i]}</li>
{/each}
</div>
</main>
<style>
.testLinks{
margin-top: 16rem;
margin-left: 3rem;
}
</style>