<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->

  <link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css" integrity="sha384-HzLeBuhoNPvSl5KYnjx0BT+WB0QEEqLprO+NBkkk5gbc67FTaL7XIGa2w1L0Xbgc" crossorigin="anonymous">
  <link rel="stylesheet" href="css/style.css">
  
  <title>Frontend Mentor | Ping coming soon page</title>

</head>
<body>
  <div class="flexContainer">
    <header>
      <div class="logoSection">
        <img src="./images/logo.svg" alt="Ping logo" class="logo">
      </div>
    </header>
    <main>
      <div class="titleSection">
        <p class="line1">We are launching <b class="line1Bold">soon!</b></p>
        <p class="line2">Subscribe and get notified</p>
      </div>
      <div class="formSection">
        <form name="emailForm" action="submit" onsubmit="return validateEmailAddress()">
          <!-- challenge requires us to do validation of this field, therefore NOT using type="email" -->
          <input title="Email Address" type="text" name="emailInput" id="emailInput" placeholder="Your email address..." onfocus="clearError()">
          <div class="errorSection" id="errorSection" > <!-- hidden -->
            <p class="errorMessage" id="errorMessage">Placeholder Text</p>
          </div>
          <button title="Notify Button" class="notifyButton" id="notifyButton">Notify Me</button>
        </form>
      </div>
      <div class="imageSection">
        <img src="./images/illustration-dashboard.png" alt="Illustration of the dashboard" class="mockupImage">
      </div>
    </main>
    <footer>
      <div class="socialButtonsSection">
        <a href="https://facebook.com/tarasis"><span class="sr-only">Link to Facebook page</span><i class="fab fa-facebook-f icon-background"></i></a>
        <a href="https://twitter.com/tarasis"><span class="sr-only">Link to Twitter page</span><i class="fab fa-twitter icon-background"></i></a>
        <a href="https://www.instagram.com/tarasis/"><span class="sr-only">Link to Instagram page</span><i class="fab fa-instagram icon-background"></i></a>
      </div>
      <p class="copyright">
        &copy; Copyright Ping. All rights reserved.
      </p>
      <p class="attribution">
        Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>. 
        Coded by <a href="mailto:work@tarasis.net">Robert McGovern</a>.
      </p>
    </footer>  
  </div>
  <script src="./js/script.js"></script>
</body>
</html>