<!DOCTYPE html>
<html>
<head>
<title>ToDoList——最简单的待办事项列表</title>
<link rel="stylesheet" type="text/css" href="./css/reset.css">
<link rel="stylesheet" type="text/css" href="./css/index.css">
<script src="./js/index.js"></script>
</head>
<body>
<div class="header">
<div class="section">
<div class="l">
<label for="title">ToDoList</label>
<form action="javascript:;">
<input type="text" name="title" placeholder="添加ToDo">
</form>
</div>
</div>
</div>
<div class="section">
<h2>
正在进行
<span id="todoCount">0</span>
</h2>
<ul class="todo">
</ul>
<h2>
已经完成
<span id="doneCount">0</span>
</h2>
<ul class="done">
</ul>
</div>
<div class="fotem">
Copyright © 2014 todolist.cn
<a class="clear" href="javascript:;">clean</a>
</div>
</body>
</html>
css
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margi