I have a website which lists hiking tours as cards in Svelte. I use {#each} to generate the cards:
{#each tours as tour}
<Card {tour} />
{/each}
The contents of the cards are grabbed from a separate file in the directory, I'm not using APIs. I wanted to have animation for them when the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.