-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【作业贴】移应171 02 色彩表格实现 #423
Comments
JS 计时器的使用 #327 |
17 yejing lasacacias.github.io/index.html |
20170603146罗爽https://borntowin1.github.io/index.html |
23-唐寅 <title></title> <style type="text/css"> table{ border: 1px solid #000; border-collapse: collapse; } td{ border: 1px solid #000; width: 100px; height: 60px; } tr:nth-child(1)>td{ background-color: hsl(120,50%,50%); } tr:nth-child(2)>td{ background-color: hsl(120,50%,60%); } tr:nth-child(3)>td{ background-color: hsl(120,50%,70%); } tr:nth-child(4)>td{ background-color: hsl(120,50%,80%); } tr:nth-child(5)>td{ background-color: hsl(120,50%,90%); } tr:nth-child(6)>td{ background-color: hsl(120,50%,100%); } </style> |
倪啸亮、李佳奇、陈志伟、郑威强、卢耀扬五位同学没交! |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <script type="text/javascript"> | var oTable = document.getElementById("colorTable"); | var oTd =document.getElementsByTagName("td"); | for (i in oTd) { | oTd[i].style.backgroundColor="hsl("+i%9*20+",50%,50%)"; | oTd[i].innerHTML=i; | } | </script> | | | |
请大家在本贴实现一个JS效果,来达到熟悉JS运算符和条件语句、循环语句的实现。
要求:
把自己的效果传到自己github账号,本在本贴回复两位学号和姓名,如00 王海庆 链接
尽量体现自己最高水平
下次上课前交
做得好的有神秘大奖
The text was updated successfully, but these errors were encountered: