function everything() {
var words = ["dog", "coat", "cough", "coffee"]
var rand = words[Math.floor(Math.random() * words.length)];
var single = rand.split("");
var box = $("<div>" + single + "</div>");
$("body").append(box);
}
我想知道如何創建的基礎上選擇的隨機字字母量單獨申報單的數量。如何根據給出的字母數量創建特定數量的div?
如何,我可以把所選單詞的每個字母在它自己單獨的DIV框?
__SHARP ... + 1 ..__ – Rayon