123456789101112131415161718192021222324252627 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Title</title>
- <link rel="stylesheet" href="../styles.css" />
- <link rel="stylesheet" href="styles.css" />
- </head>
- <body>
- <nav>
- <h1><span class="index">6</span>The need for computed properties</h1>
- <ul>
- <li><a href="../lesson5">Prev</a></li>
- <li><a href="../lesson7">Next</a></li>
- </ul>
- </nav>
- <div id="root">
- <ul>
- <li v-for="task in tasks" v-if="task.completed" v-text="task.description" />
- </ul>
- </div>
- <script src="../lib/vue-2.1.3.js"></script>
- <script src="code.js"></script>
- </body>
- </html>
|