rmcg.dev/FrontendMentor/ping-coming-soon-page-master/index.html

66 lines
2.7 KiB
HTML

<!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 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 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>
</div>
<footer>
<div class="socialButtonsSection">
<span class="fa-stack fa-2x">
<i class="far fa-circle fa-stack-2x"></i>
<a href="https://facebook.com/tarasis"><i class="fab fa-facebook-f fa-stack-1x"></i></a>
</span>
<span class="fa-stack fa-2x">
<i class="far fa-circle fa-stack-2x"></i>
<a href="https://twitter.com/tarasis"><i class="fab fa-twitter fa-stack-1x"></i></a>
</span>
<span class="fa-stack fa-2x">
<i class="far fa-circle fa-stack-2x"></i>
<a href="https://www.instagram.com/tarasis/"><i class="fab fa-instagram fa-stack-1x"></i></a>
</span>
</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>
<script src="./js/script.js"></script>
</body>
</html>