Svelte – 7guis-counter

0 min read


Counter.svelte

<!-- https://eugenkiss.github.io/7guis/tasks#counter -->
<script>
	let count = 0;
</script>

<input type=number bind:value={count}>
<button on:click="{() => count += 1}">count</button>

dan import ke App.svelte

	<HeadComp />
	<AudioPlayer />
	<Debugging />
	<CounterGuis />

dan hasilnya akan seperti ini ya…

Okay untuk source code ada disini yaa … cyaa…

Bima Sena

Leave a Reply

Your email address will not be published. Required fields are marked *