fed
fed copied to clipboard
【作业贴】移应171 01 JS环境初试
请大家在本贴实现一个JS效果,来达到熟悉JS开发环境的目的。 要求:
- 把自己的效果传到自己github账号,本在本贴回复两位学号和姓名,如00 王海庆 链接
- 尽量体现自己最高水平
- 下次上课前交
- 做得好的有神秘大奖
我们课堂上的案例
<p id="a" style="color:lightblue">一段文本</p>
<script type="text/javascript">
//设置html、css
//基于事件动态设置html、css、窗口等
//找见元素,设置它
var a=document.getElementById("a");
a.style.color="lightblue";
</script>
<input type="button" name="redBtutton" id="redBtutton" value="红红红红红红色" onclick="chgColor('red')" />
<input type="button" name="redBtutton" id="redBtutton" value="绿绿绿绿绿绿色" onclick="chgColor('green')" />
<input type="button" name="redBtutton" id="redBtutton" value="蓝蓝蓝蓝色" onclick="chgColor('blue')" />
<input type="color" name="" id="chgColor" value="#ff0000" onchange="chgRandomColor()" />
<script type="text/javascript">
function chgColor(color){
document.body.style.backgroundColor=color;
}
function chgRandomColor(){
var chgColor=document.getElementById("chgColor");
document.body.style.backgroundColor=chgColor.value;
}
</script>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
p{
color:green;
text-indent: 2em;
line-height:1.5;
}
</style>
</head>
<body>
<p id="斯大林" style="color:lightblue">sdfsfwwefrqwefqwefqwfasdgfqwegsdgqdgqdgqegre</p>
<script type="text/javascript">
var a=document.getElementById("斯大林");
a.style.color="lightblue";
</script>
</body>
</html>
03 楼競恒 https://15968191839.github.io/ljh/
04 周皓天https://1647502335.github.io/index.html
38- 楼思宏https://fengxiaozaici.github.io/newn/index.html
07-张舒鹏https://zq0951.github.io/斐波那契数列/index.html
24-宋佳军 https://songdadacarry.github.io/hello/index.html
37 鲍华明 https://bhm37.github.io/基础项目/index.html
33-张铭泳https://20170608133.github.io/gb/
08-严振焘https://Yztttttt.github.io/08/index.html
39.边逸婷https://yiting63.github.io/lhr/hhh.html
06 李亚坤https://yakunn.github.io/hello/index.html
50 陈家辉https://huajiw.github.io/hello2/index.html
32 陈志伟 https://chenzhiwei111.github.io/hello1/index.html
29 李佳奇 https://ljq6666.github.io/hello1/index.html
18 诸葛文瀚 https://zgwh.github.io/zz/index.html
27 戴甄 https://diviner1121.github.io/index.html
43 潘一炜https://tonggechiou.github.io/pengxiong/index.html
23 唐寅https://tangzhuyin.github.io/first/index.html
15 徐效宇https://x20170608115.github.io/onej/new_file.html
26 应小刚https://yingxiaogan.github.io/index.html
20张天https://bentuotuo.github.io/jsjsjs.html
05赵琛https://zzzzzzzzzc.github.io/hello/
46林文青https://piggss.github.io/backg/index.html
36裘凯炳https://qiukaibing.github.io/詹23/index.html
19盛佳康https://sjkkkk.github.io/hello/chgColor.html
13王露露https://377a61.github.io/jsone/%E6%94%B9%E5%8F%98%E8%83%8C%E6%99%AF%E9%A2%9C%E8%89%B2.html
21傅全超 https://mcccccccc.github.io/%E5%A4%A7%E8%B6%85/index.html
30邵丽君https://weirdo1998.github.io/%E7%BD%91%E9%A1%B5%E8%83%8C%E6%99%AF/index.html
045陈薇薇https://cveivei.github.io/javase/index.html
42-贺郑鹏http://yufen.github.io/Yufendian/index.html