我制作了一个待办事项应用程序,但您无法删除某些项目。我尝试了很多东西,但它不起作用。你能帮我理解错误的原因吗?我也在想办法增加字符限制。
html:
<!DOCTYPE html>
<!-- Created By Zarif Sefat -->
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SideQuests | Simple Todo App</title>
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
<link rel="icon" href="images/icon.png">
</head>
<body>
<h1 class="logo-or-something"><i class="fas fa-check-square"></i> SideQuests</h1>
<div class="wrapper">
<header>SIDE QUESTS</header>
<div class="inputField">
<input type="text" placeholder="Add your new side quest">
<button><i class="fas fa-plus"></i></button>
</div>
<ul class="todoList">
<!-- data are comes from local storage -->
</ul>
<div class="footer">
<span>You have <span class="pendingTasks"></span> pending side quests</span>
<button>Clear All</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>
一只甜甜圈
相关分类