mirror of https://github.com/sveltejs/svelte
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
405 B
20 lines
405 B
6 years ago
|
<script>
|
||
|
let cats = [
|
||
|
{ id: 'J---aiyznGQ', name: 'Keyboard Cat' },
|
||
|
{ id: 'z_AbfPXTKms', name: 'Maru' },
|
||
|
{ id: 'OUtn3pvWmpg', name: 'Henri The Existential Cat' }
|
||
|
];
|
||
|
</script>
|
||
|
|
||
|
<h1>The Famous Cats of YouTube</h1>
|
||
|
|
||
|
<ul>
|
||
|
<!-- open each block -->
|
||
1 year ago
|
<li>
|
||
|
<a target="_blank" href="https://www.youtube.com/watch?v={cat.id}" rel="noreferrer">
|
||
6 years ago
|
{cat.name}
|
||
1 year ago
|
</a>
|
||
|
</li>
|
||
6 years ago
|
<!-- close each block -->
|
||
1 year ago
|
</ul>
|