index.html 641 B

1234567891011121314151617181920212223242526
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Document</title>
  8. <style>
  9. .round {
  10. width: 10em;
  11. height: 10em;
  12. border: 2px solid black;
  13. border-radius: 50%;
  14. }
  15. </style>
  16. </head>
  17. <body>
  18. <div id="trafficlight">
  19. <!-- <div id="red" class="round"></div>
  20. <div id="yellow" class="round"></div>
  21. <div id="green" class="round"></div>
  22. --> </div>
  23. <button id="knopka">Clik me</button>
  24. <script src="main.js"></script>
  25. </body>
  26. </html>