学无止境,加油屌丝

随笔分类 -  练习代码

摘要:html代码 <div> <label for="userid">ID</label> <input type="text" id="userid"> <button id="submit">查询</button> </div> <div id="show"> </div> <script> var 阅读全文
posted @ 2020-08-31 11:34 nofeel666 阅读(101) 评论(0) 推荐(0)
摘要:switch练习 <div> <label for="id">ID号</label> <input type="text" id="id" name="id"> <button id="submit">查询</button> </div> <div id="reveal"></div> <scrip 阅读全文
posted @ 2020-08-27 20:41 nofeel666 阅读(142) 评论(0) 推荐(0)
摘要:小练习 顺序跳跃显示数组中的值 <input type="text" id="t" size="60"> <button id="s">stop</button> <script> var tt=document.getElementById('t'); var s=document.getElem 阅读全文
posted @ 2020-05-14 22:41 nofeel666 阅读(199) 评论(0) 推荐(0)
摘要:<style> #head{float: left;} #head ul li{float: left;list-style: none;padding-left: 15px;} .nav{font-size: 18px;font-weight: bold;} </style> <div id="h 阅读全文
posted @ 2020-05-13 13:07 nofeel666 阅读(210) 评论(0) 推荐(0)
摘要:<style> .s1{color: rebeccapurple;font-size: 25px;} .s2{color: red;} .s3{color: blue;} .s4{color:yellow;} </style> <div id="div"> <span>1</span> <span> 阅读全文
posted @ 2020-05-09 10:23 nofeel666 阅读(272) 评论(0) 推荐(0)
摘要:自己手撸的,记录一下 <meta charset="utf-8"> <style> .ok,.two{ list-style: none; width: 200px; margin-top: 0; padding-left: 0; } .ok li{ background: darkgoldenro 阅读全文
posted @ 2020-03-03 11:06 nofeel666 阅读(501) 评论(0) 推荐(0)