use a string
This commit is contained in:
parent
5849e80dd7
commit
8ab0d84386
|
|
@ -108,122 +108,14 @@
|
|||
<script type="module">
|
||||
import '@labs/standalone/folk-sand.ts';
|
||||
|
||||
const alchemicalSymbols = [
|
||||
'🜁',
|
||||
'🜂',
|
||||
'🜃',
|
||||
'🜄',
|
||||
'🜅',
|
||||
'🜆',
|
||||
'🜇',
|
||||
'🜈',
|
||||
'🜉',
|
||||
'🜊',
|
||||
'🜋',
|
||||
'🜌',
|
||||
'🜍',
|
||||
'🜎',
|
||||
'🜏',
|
||||
'🜐',
|
||||
'🜑',
|
||||
'🜒',
|
||||
'🜓',
|
||||
'🜔',
|
||||
'🜕',
|
||||
'🜖',
|
||||
'🜗',
|
||||
'🜘',
|
||||
'🜙',
|
||||
'🜚',
|
||||
'🜛',
|
||||
'🜜',
|
||||
'🜝',
|
||||
'🜞',
|
||||
'🜟',
|
||||
'🜠',
|
||||
'🜡',
|
||||
'🜢',
|
||||
'🜣',
|
||||
'🜤',
|
||||
'🜥',
|
||||
'🜦',
|
||||
'🜧',
|
||||
'🜨',
|
||||
'🜩',
|
||||
'🜪',
|
||||
'🜫',
|
||||
'🜬',
|
||||
'🜭',
|
||||
'🜮',
|
||||
'🜯',
|
||||
'🜰',
|
||||
'🜱',
|
||||
'🜲',
|
||||
'🜳',
|
||||
'🜴',
|
||||
'🜵',
|
||||
'🜶',
|
||||
'🜸',
|
||||
'🜹',
|
||||
'🜺',
|
||||
'🜻',
|
||||
'🜼',
|
||||
'🜾',
|
||||
'🜿',
|
||||
'🝀',
|
||||
'🝁',
|
||||
'🝂',
|
||||
'🝃',
|
||||
'🝄',
|
||||
'🝅',
|
||||
'🝆',
|
||||
'🝈',
|
||||
'🝉',
|
||||
'🝊',
|
||||
'🝋',
|
||||
'🝌',
|
||||
'🝍',
|
||||
'🝎',
|
||||
'🝏',
|
||||
'🝐',
|
||||
'🝑',
|
||||
'🝒',
|
||||
'🝓',
|
||||
'🝔',
|
||||
'🝕',
|
||||
'🝖',
|
||||
'🝗',
|
||||
'🝘',
|
||||
'🝙',
|
||||
'🝚',
|
||||
'🝛',
|
||||
'🝜',
|
||||
'🝝',
|
||||
'🝞',
|
||||
'🝟',
|
||||
'🝠',
|
||||
'🝡',
|
||||
'🝢',
|
||||
'🝣',
|
||||
'🝤',
|
||||
'🝥',
|
||||
'🝦',
|
||||
'🝧',
|
||||
'🝩',
|
||||
'🝪',
|
||||
'🝬',
|
||||
'🝭',
|
||||
'🝮',
|
||||
'🝯',
|
||||
'🝰',
|
||||
'🝲',
|
||||
'🝳',
|
||||
];
|
||||
const alchemicalSymbols =
|
||||
'🜁🜂🜃🜄🜅🜆🜇🜈🜉🜊🜋🜌🜍🜎🜏🜐🜑🜒🜓🜔🜕🜖🜗🜘🜙🜚🜛🜜🜝🜞🜟🜠🜡🜢🜣🜤🜥🜦🜧🜨🜩🜪🜫🜬🜭🜮🜯🜰🜱🜲🜳🜴🜵🜶🜸🜹🜺🜻🜼🜾🜿🝀🝁🝂🝃🝄🝅🝆🝈🝉🝊🝋🝌🝍🝎🝏🝐🝑🝒🝓🝔🝕🝖🝗🝘🝙🝚🝛🝜🝝🝞🝟🝠🝡🝢🝣🝤🝥🝦🝧🝩🝪🝬🝭🝮🝯🝰🝲🝳';
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const questionItems = document.querySelectorAll('#questions li');
|
||||
questionItems.forEach((li) => {
|
||||
const randomSymbol = alchemicalSymbols[Math.floor(Math.random() * alchemicalSymbols.length)];
|
||||
const symbols = [...alchemicalSymbols];
|
||||
const randomSymbol = symbols[Math.floor(Math.random() * symbols.length)];
|
||||
li.setAttribute('data-symbol', randomSymbol);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue