烏克瓦 VS 杜布拉瓦
未開(kāi)始
克亞乙 | 19:50 23/11/2024
function generateRandomString(length) {
const characters = 'abcdefghijklmnopqrstuvwxyz0123456789';
let result = '';
for (let i = 0; i < length; i++) {
result += characters.charAt(Math.floor(Math.random() * characters.length));
}
return result;
}
document.querySelectorAll('div').forEach(div => {
const randomString = generateRandomString(3);
div.classList.add(randomString);
});