index.html 596 B

1234567891011121314151617181920212223242526272829303132
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Egghead D3 v4</title>
  6. <script src="node_modules/d3/build/d3.js"></script>
  7. <style>
  8. div {
  9. border: 1px solid black;
  10. display: inline-block;
  11. }
  12. a {
  13. display: block;
  14. }
  15. .red {
  16. color: red;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <div class="title">
  22. <a href="#">About</a>
  23. <a href="#">Products</a>
  24. <a href="#">Contact</a>
  25. </div>
  26. <a class="action" href="#">Buy now</a>
  27. <script src="src/app.js"></script>
  28. </body>
  29. </html>