dandanyajin
今天更新博客了吗?
for (var i = 1; i <= 5; i++) {
for (var n = 1; n <= 4 + i; n++) {
if (n == 6 - i) {
document.write("<span></span>");
continue;
}
if(n == 4 + i){
document.write("<span></span>");
continue;
}
document.write("<div></div>");
}
document.write("<br>");
}


for (var j = 1; j <= 4; j++) {
for (var x = 1; x <= 9 - j; x++) {
if (x == j + 1) {
document.write("<span></span>");
continue;
}
if (x == 9 - j) {
document.write("<span></span>");
continue;
}
document.write("<div></div>");
}

document.write("<br>");
}
posted on 2019-08-28 22:00  dandanyajin  阅读(801)  评论(0编辑  收藏  举报