index.html 669 B

123456789101112131415161718192021222324252627
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Title</title>
  6. <link rel="stylesheet" href="../styles.css" />
  7. <link rel="stylesheet" href="styles.css" />
  8. </head>
  9. <body>
  10. <nav>
  11. <h1><span class="index">6</span>The need for computed properties</h1>
  12. <ul>
  13. <li><a href="../lesson5">Prev</a></li>
  14. <li><a href="../lesson7">Next</a></li>
  15. </ul>
  16. </nav>
  17. <div id="root">
  18. <ul>
  19. <li v-for="task in tasks" v-if="task.completed" v-text="task.description" />
  20. </ul>
  21. </div>
  22. <script src="../lib/vue-2.1.3.js"></script>
  23. <script src="code.js"></script>
  24. </body>
  25. </html>