World-Time-zone-application / index.html
index.html
Raw
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>World Time Zone</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.41/moment-timezone-with-data-1970-2030.min.js"></script>
    <link href="CSS/style.CSS" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <div class="container">
      <h1 class="main-title" id="add-link">World Clock</h1>
      <div class="select-wrap">
        <select class="selection-bar" id="option-bar">
          <option value="">Select a City</option>
          <option value="Your-location">Current location</option>
          <option value="Asia/Dubai">Dubai</option>
          <option value="US/Hawaii">Hawaii</option>
          <option value="Asia/Singapore">Singapore</option>
        </select>
      </div>
      <div id="Change-page-layout">
        <!--<div class="Time-zone-displays">
          <hr />
          <h1 class="Time-zone-displays-title move-center">
            current location
            <div class="Time-zone-displays-date">11/10/2002</div>
            <div class="Time-zone-displays-time">10:00:20 AM</div>
          </h1>
        </div> -->

        <div class="Time-zone-displays" id="Dubai">
          <hr />
          <h1 class="Time-zone-displays-title move-center">
            Dubai
            <div class="Time-zone-displays-date" id="DubaiDate">11/10/2002</div>
            <div class="Time-zone-displays-time">10:00:20 AM</div>
          </h1>
        </div>

        <div class="Time-zone-displays" id="Hawaii">
          <hr />
          <h1 class="Time-zone-displays-title move-center">
            Hawaii
            <div class="Time-zone-displays-date" id="HawaiiDate">
              11/10/2002
            </div>
            <div class="Time-zone-displays-time" id="HawaiiTime">
              10:00:20 AM
            </div>
          </h1>
        </div>
      </div>
    </div>
    <footer>
      Coded by Brooklin Wai and viewable on
      <a
        href="https://gitfront.io/r/Brook-W/oAadWvDCasCc/World-Time-zone-application/"
        target="_blank"
        >GitFront.
      </a>
    </footer>
    <script type="text/javascript" src="JavaS/script.js"></script>
  </body>
</html>