rmcg.dev/projects/FrontendMentor/newbie/base-apparel-coming-soon/index.html

72 lines
2.3 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
2022-10-03 15:43:03 +02:00
<head>
<meta charset="UTF-8">
2022-10-03 15:43:03 +02:00
<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">
2022-10-03 15:43:03 +02:00
<link rel="stylesheet" href="css/style.css">
2022-10-19 20:22:49 +02:00
<script src="js/script.js" defer></script>
2022-10-03 15:43:03 +02:00
<title>Frontend Mentor | Base Apparel coming soon page</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
2022-10-03 15:43:03 +02:00
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
</style>
</head>
2022-10-03 15:43:03 +02:00
<body>
2022-10-19 20:22:49 +02:00
<main>
<header class="header">
<picture>
<img class="logo" src="images/logo.svg"
alt="Logo of Base Apparel. Hollow round circle with the text Base Apparel beside it">
</picture>
</header>
2022-10-19 20:22:49 +02:00
<picture class="hero-picture">
<source srcset="images/hero-desktop.jpg" media="(min-width: 1000px)">
<img src="images/hero-mobile.jpg"
alt="Hero image of a young lady holding her arm up showing some jewelry on her wrist. The lady stands in front of a bush">
</picture>
<section class="body">
<h1 class="body__header">
We're<br><span>coming soon</span>
</h1>
<p class="body__text">
Hello fellow shoppers! We're currently building our new fashion store.
Add your email below to stay up-to-date with announcements and our launch deals.
</p>
<form class="email-form" id="email-form" action="submit" novalidate>
2022-10-19 20:22:49 +02:00
<label class="visually-hidden" for="email">Email</label>
<input class="email-form__input" placeholder="Email Address" type="email" name="email" id="email" required>
<button class="email-form__button-submit" type="submit"><img src="images/icon-arrow.svg" alt="Submit Button">
</button>
2022-10-19 20:22:49 +02:00
<p class="email-form__error-message error-hidden" id="errorMessage">Please provide a valid email</p>
</form>
</section>
</main>
2022-10-03 15:43:03 +02:00
<!-- <footer>
<p class="attribution">
2022-10-03 15:43:03 +02:00
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Your Name Here</a>.
</p>
2022-10-03 15:43:03 +02:00
</footer> -->
</body>
2022-10-03 15:43:03 +02:00
</html>