上一页 1 ··· 24 25 26 27 28
摘要: <script type="text/javascript"> document.writeln(' 输入年份、月份,显示当月的天数'+'<br>') var year= parseInt(prompt('请输入一个年份')) var month= parseInt(prompt('请输入一个月份' 阅读全文
posted @ 2020-04-13 15:58 阿向向 阅读(389) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{padding: 0;margin: 0;} #box{ width: 200px;height: 200px; 阅读全文
posted @ 2020-04-13 15:56 阿向向 阅读(135) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> /* 1~100以内3的倍数 */ document.writeln('1~100以内3的倍数: '+'<br />') for (var i=1;i<=100;i++) {// 判断i能被3整除 if (i%3 0) { docume 阅读全文
posted @ 2020-04-13 15:51 阿向向 阅读(782) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28