index.html 1.2 KB

12345678910111213141516171819202122232425
  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. <link rel="stylesheet" href="style.css">
  9. </head>
  10. <body>
  11. <div class="traffic-lights">
  12. <div class="traffic-lights__wrap">
  13. <div class="traffic-lights__light traffic-lights__light--for-cars"><span class="traffic-lights__counter"></span></div>
  14. <div class="traffic-lights__light traffic-lights__light--for-cars"><span class="traffic-lights__counter"></span></div>
  15. <div class="traffic-lights__light traffic-lights__light--for-cars"><span class="traffic-lights__counter"></span></div>
  16. </div>
  17. <div class="traffic-lights__wrap">
  18. <div class="traffic-lights__light traffic-lights__light--for-pedestrian"></div>
  19. <div class="traffic-lights__light traffic-lights__light--for-pedestrian"></div>
  20. </div>
  21. <button class="traffic-lights__pedestrian-button">Кнопка для пешеходов</button>
  22. </div>
  23. <script src="main.js"></script>
  24. </body>
  25. </html>