摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> input:focus{ background-color:yellow ; } </style> </head> 阅读全文
posted @ 2017-12-18 14:04 燕林夕 阅读(689) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script type="text/javascript"> /** * 输出函数out * {obiect}a一个数组 * 选择排 阅读全文
posted @ 2017-12-18 14:00 燕林夕 阅读(163) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> </head> <body> <p><input type="text" id="sfz" placeholder="请输入身份证号" /></p> <p><i 阅读全文
posted @ 2017-12-18 13:54 燕林夕 阅读(1246) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <script type="text/javascript"> function sanjiao(){ for(var i=0;i<9 阅读全文
posted @ 2017-12-18 13:49 燕林夕 阅读(6609) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <p>x的值为: <input type="text"id="num1" placeholder="请输入不为0的数字"/></p> 阅读全文
posted @ 2017-12-18 13:45 燕林夕 阅读(691) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <p><input type="text" name="jc" id="jc" placeholder="请输入数字" /></p> 阅读全文
posted @ 2017-12-18 13:43 燕林夕 阅读(4581) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script type="text/javascript"> /*js实现:循环输出1000以内水仙花数*/ var a,b,c ; 阅读全文
posted @ 2017-12-18 13:42 燕林夕 阅读(5430) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"/> <title></title> </head> <body> <input type="text" id="cj" placeholder="输入整数"/> <input type="butto 阅读全文
posted @ 2017-12-18 13:41 燕林夕 阅读(1466) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <script type="text/javascript"> document.write("第一题:输出前20项斐波拉契数:"); 阅读全文
posted @ 2017-12-18 13:37 燕林夕 阅读(1147) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <script type="text/javascript"> var x=parseInt(Math.random()*10); v 阅读全文
posted @ 2017-12-18 13:36 燕林夕 阅读(650) 评论(0) 推荐(0) 编辑