index.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width">
  6. <title>hw-js-15-async-await-2</title>
  7. <link href="index.css" rel="stylesheet" type="text/css" />
  8. </head>
  9. <body>
  10. <section class="trafficLights">
  11. <h2>Vehicles Traffic Lights</h2>
  12. <div id='root' class="wrapper">
  13. </div>
  14. <button id='switchBtn'>Switch color</button>
  15. </section>
  16. <section class="pedestrianTrafficLights">
  17. <h2>Pedestrian Traffic Lights</h2>
  18. <div id='rootPed' class="wrapper">
  19. </div>
  20. <button id='switchBtnPed'>Switch color</button>
  21. </section>
  22. <section class="speedTest">
  23. <h2>Speed Test</h2>
  24. <div id='rootSpeed' class="wrapper">
  25. <input type="text" id='countInpt' class='inputSpeed' placeholder=" Введите кол-во кругов для параллельных запросов">
  26. <input type="text" id='parallelInpt' class='inputSpeed' placeholder=" Введите кол-во запросов в одном круге">
  27. <button id='speedBtn'>Run speedtest</button>
  28. </div>
  29. </section>
  30. <script src="/js/trafficLight.js" ></script>
  31. <script src="/js/pedestrianTrafficLight.js"></script>
  32. <script src="/js/speedtest.js"></script>
  33. </body>
  34. </html>