韦德
所属联赛:
所属球队:
球员英⽂名:Dwyane Wade
球员繁体名:韦德
国家:美国
身价:0
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);
});