index.html 589 B

123456789101112131415161718
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  7. <title>Homework</title>
  8. <link rel="stylesheet" href="styles.css" />
  9. </head>
  10. <body>
  11. <div class="trafficLights" id="traffic">
  12. <div class="trafficLights__off"></div>
  13. <div class="trafficLights__off"></div>
  14. <div class="trafficLights__off"></div>
  15. </div>
  16. <button id="resolvePromise" class="resolvePromise">Change Light</button>
  17. </body>
  18. </html>