Skip to content
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 01 JS环境初试 #418

Open
zptcsoft opened this issue Sep 5, 2018 · 44 comments
Open

【作业贴】移应171 01 JS环境初试 #418

zptcsoft opened this issue Sep 5, 2018 · 44 comments

Comments

@zptcsoft
Copy link
Collaborator

zptcsoft commented Sep 5, 2018

请大家在本贴实现一个JS效果,来达到熟悉JS开发环境的目的。
要求:

  1. 把自己的效果传到自己github账号,本在本贴回复两位学号和姓名,如00 王海庆 链接
  2. 尽量体现自己最高水平
  3. 下次上课前交
  4. 做得好的有神秘大奖

我们课堂上的案例

<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>
@nixiaoliang
Copy link

nixiaoliang commented Sep 5, 2018

<!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>

@15968191839
Copy link

03 楼競恒 https://15968191839.github.io/ljh/

@1647502335
Copy link

04 周皓天https://1647502335.github.io/index.html

@fengxiaozaici
Copy link

@zq0951
Copy link

zq0951 commented Sep 5, 2018

@songdadacarry
Copy link

@bhm37
Copy link

bhm37 commented Sep 5, 2018

@20170608133
Copy link

33-张铭泳https://20170608133.github.io/gb/

@Yztttttt
Copy link

Yztttttt commented Sep 5, 2018

08-严振焘https://Yztttttt.github.io/08/index.html

@yiting63
Copy link

yiting63 commented Sep 5, 2018

39.边逸婷https://yiting63.github.io/lhr/hhh.html

@Yakunn
Copy link

Yakunn commented Sep 5, 2018

06 李亚坤https://yakunn.github.io/hello/index.html

@HuaJiW
Copy link

HuaJiW commented Sep 5, 2018

50 陈家辉https://huajiw.github.io/hello2/index.html

@chenzhiwei111
Copy link

@ljq6666
Copy link

ljq6666 commented Sep 5, 2018

29 李佳奇 https://ljq6666.github.io/hello1/index.html

@zgwh
Copy link

zgwh commented Sep 5, 2018

18 诸葛文瀚 https://zgwh.github.io/zz/index.html

@diviner1121
Copy link

@tonggechiou
Copy link

@tangzhuyin
Copy link

@x20170608115
Copy link

@yingxiaogan
Copy link

26 应小刚https://yingxiaogan.github.io/index.html

@FISHTIANTIAN
Copy link

@zzzzzzzzzc
Copy link

05赵琛https://zzzzzzzzzc.github.io/hello/

@LINWQG
Copy link

LINWQG commented Sep 5, 2018

@qiukaibing
Copy link

@sjkkkk
Copy link

sjkkkk commented Sep 5, 2018

@377a61
Copy link

377a61 commented Sep 5, 2018

@Mcccccccc
Copy link

@weirdo1998
Copy link

@cveivei
Copy link

cveivei commented Sep 5, 2018

@Yufendian
Copy link

@dameinan
Copy link

dameinan commented Sep 5, 2018

40 姚海楠https://dameinan.github.io/hello/in.html

@lljzkadrasd
Copy link

31王泽钰https://lljzkadrasd.github.io/index.html

@1103070072z
Copy link

14周家骏https://1103070072z.github.io/c1.html

@zbb1299316394
Copy link

@mejiwef
Copy link

mejiwef commented Sep 5, 2018

@lasacacias
Copy link

17 叶靖 lasacacias.github.io/jsonee/index.html

@zptcmt
Copy link

zptcmt commented Sep 5, 2018

@wode98k
Copy link

wode98k commented Sep 5, 2018

@wudikuangkuang
Copy link

@jeffchenxin
Copy link

@7TS-W
Copy link

7TS-W commented Sep 6, 2018

12吴行文https://7ts-w.github.io/index.html

@wozhemenuan
Copy link

@zengrichang
Copy link

@zptcsoft
Copy link
Collaborator Author

王志文、郑威强、卢耀扬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests