We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 857b23f commit 2ff2071Copy full SHA for 2ff2071
index.html
@@ -4,7 +4,7 @@
4
<meta charset="UTF-8" />
5
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Todo List TS</title>
+ <title>MyTodo</title>
8
</head>
9
<body>
10
<div id="root"></div>
src/App.css
@@ -86,6 +86,11 @@ hr {
86
border-top: 1px solid #d1d5db;
87
}
88
89
+hr+p {
90
+ font-style: italic;
91
+ text-align: center;
92
+}
93
+
94
li {
95
list-style-type: none;
96
background: #f8f9fa;
src/App.tsx
@@ -34,6 +34,7 @@ const App = () => {
34
35
<hr />
36
37
+ {todos.length === 0 && <p>No tasks found</p>}
38
<ul>
39
{todos.map(task => (
40
<li key={task.id} >
0 commit comments