mirror of
https://github.com/danbulant/design
synced 2026-05-19 04:08:46 +00:00
the funny
This commit is contained in:
parent
5754ef58dd
commit
874a84071e
1 changed files with 4 additions and 2 deletions
|
|
@ -1,8 +1,10 @@
|
|||
<script>
|
||||
var name = "world";
|
||||
|
||||
let funny = { "amogus": "ඞ", "AMOGUS": "sussy baka", "discord": "proprietary matrix", "never gonna give you up": "never gonna let you down" };
|
||||
</script>
|
||||
|
||||
<h1>Hello {name}</h1>
|
||||
<h1>Hello {name[funny] || name}</h1>
|
||||
|
||||
<input type=text bind:value={name}>
|
||||
|
||||
|
|
@ -10,4 +12,4 @@
|
|||
h1 {
|
||||
padding-top: 0;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in a new issue