Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <title>Todo List</title>
- </head>
- <body>
- <div class="container">
- <header>
- <h1>Todo List</h1>
- <!-- add a form below the h1 -->
- <form class="new-task">
- <input type="text" name="text" placeholder="Type to add new tasks" />
- </form>
- </header>
- <ul>
- {{#each tasks}}
- {{> task}}
- {{/each}}
- </ul>
- </div>
- </body>
- <template name="task">
- <li>{{text}}</li>
- </template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement