index.html 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Title</title>
  6. <link rel="stylesheet" href="../lib/bulma-0.2.3.css" />
  7. <!-- https://cdnjs.cloudflare.com/ajax/libs/bulma/0.2.3/css/bulma.css" -->
  8. <link rel="stylesheet" href="../styles.css" />
  9. <link rel="stylesheet" href="styles.css" />
  10. </head>
  11. <body>
  12. <nav>
  13. <h1><span class="index">10</span>Exercise 2: Bulma modal</h1>
  14. <ul>
  15. <li><a href="../lesson09">Prev</a></li>
  16. <li><a href="../lesson11">Next</a></li>
  17. </ul>
  18. </nav>
  19. <div id="root" class="container">
  20. <modal v-show="showModal" @close="showModal = false">
  21. <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat
  22. </p>
  23. </modal>
  24. <button type="button" @click="showModal = true">Show modal</button>
  25. </div>
  26. <script src="../lib/vue-2.1.3.js"></script>
  27. <script src="code.js"></script>
  28. </body>
  29. </html>