abstract:<html> <head> <meta charset="utf-8"> <title>jquery的基础语法</title> <script type="text/javascript&quo
<html>
<head>
<meta charset="utf-8">
<title>jquery的基础语法</title>
<script type="text/javascript"src="jquery-3.3.1.min.js"></script>
</head>
<body>
<script type="text/javascript">
//$(选择器).action()
$(document).ready(function(){
// $str="我是一个声明变量"
// alert($str);
$("div").hide()
$("button").click(function(){
$("div").show()
})
})
</script>
<div style="width: 100px;height: 100px;background: pink;"></div>
<button>点击</button>
</body>
</html>
Correcting teacher:韦小宝Correction time:2019-01-16 14:18:21
Teacher's summary:写的很不错 基础的东西一定要多练习才可以哦