abstract:<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
.content{width: 500px;margin: 0 auto;background-color: blue;padding-top: 20px;padding-bottom: 20px}
.chat{width:400px;margin: 0 auto;height: 400px;background-color: #fff;}
.send{width:400px;margin: 0 auto;margin-top: 20px;}
.clear{overflow: hidden}
textarea{resize: none;width: 270px;height: 50px;float: left}
button{width: 120px;height: 55px;float: right;font-size: 20px}
</style>
</head>
<body>
<div class="content">
<!--聊天区-->
<div class="chat"><ul></ul></div>
<!--发送区-->
<div class="send clear">
<textarea>sss</textarea>
<button id="send">发送</button>
</div>
</div>
<script>
window.onload=function () {
var sum=0;
var send=document.querySelector('#send');
var tc=document.querySelector('textarea');
var ul=document.querySelector('ul');
var li=document.createElement('li');
}
</script>
</body>
</html>
Correcting teacher:天蓬老师Correction time:2019-04-04 17:38:29
Teacher's summary:你这个应该是没有写完吧, 没看到功能语句