效果图
HTML部分
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<header>
<section>
<p>ToDoList</p>
<input type="text" placeholder="添加ToDo">
</section>
</header>
<div id="underway">
<h2>正在进行<span id="progress">0</span></h2>
<ul id="list">
<li class="pattern">
<input type="checkbox" class="check">