File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed
Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 1+ <div >
2+ <form action =" " method =" " >
3+ <input type =" hidden" name =" done" value =" " />
4+ <button aria-label =" Mark done/not done" >Done/NotDone</button >
5+ </form >
6+
7+ <form action =" " method =" " >
8+ <input type =" text" />
9+ <button aria-label =" Save todo" >Save</button >
10+ </form >
11+
12+ <form action =" " method =" " >
13+ <button aria-label =" Delete todo" >Delete</button >
14+ </form >
15+ </div >
Original file line number Diff line number Diff line change 1- <h1 >Welcome to SvelteKit</h1 >
2- <p >Visit <a href =" https://kit.svelte.dev" >kit.svelte.dev</a > to read the documentation</p >
1+ <script >
2+ import TodoItem from " $lib/todo-item.svelte" ;
3+
4+ const title = " Todo" ;
5+ </script >
6+
7+ <svelte:head >
8+ <title >{title }</title >
9+ </svelte:head >
10+
11+ <h1 >{title }</h1 >
12+
13+ <form action =" " method =" " >
14+ <input type =" text" name =" text" aria-label =" Add a todo" placeholder =" + type to add a todo" />
15+ </form >
16+
17+ <TodoItem />
18+ <TodoItem />
19+ <TodoItem />
You can’t perform that action at this time.
0 commit comments