<html>
<head><meta name="viewport" content="width-devise_width,initial-scale=1">
<title>canvas clock</title>
<style type="text/css">
div{
text-align:center;
margin-top:250px;
}
#clock{border: 1px solid #ccc;
}
</style>
</head>
<body>
<div><canvas id="clock" height="200px"width="200px"></canvas>
</div>
<script type="text/javascript" src="clock.js"></script>
</body>
</html>
已经出来了
请把你JS的代码也粘出来
就是跟老师写的是一样啊
确定引用js路径是对的吗