Set up sections/divs for all of the required parts of the page. Now to style

This commit is contained in:
Robert McGovern 2020-09-06 12:24:44 +01:00
parent ca4fa0b90a
commit 1e0bd290a6
3 changed files with 38 additions and 14 deletions

View File

@ -21,5 +21,9 @@ body {
font-size: 20px;
}
/* Feel free to remove these styles or customise in your own stylesheet 👍 */
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
@media screen and (max-width: 600px) {
}

View File

@ -10,23 +10,35 @@
<title>Frontend Mentor | Ping coming soon page</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
</style>
</head>
<body>
We are launching soon!
Subscribe and get notified
Notify Me
&copy; Copyright Ping. All rights reserved.
<header>
<div class="logoSection"></div>
</header>
<main>
<div class="titleSection">
<p class="line1">We are launching <b>soon!</b></p>
<p class="line2">Subscribe and get notified</p>
</div>
<div class="formSection">
<form action="submit">
<input type="email" name="emailInput" id="emailInput" placeholder="Your email address...">
<button>Notify Me</button>
</form>
</div>
<div class="imageSection">
<img src="./images/illustration-dashboard.png" alt="Illustration of the dashboard" class="mockupImage">
</div>
</main>
<div class="socialButtonsSection">
<a href="https://facebook.com/tarasis"><i class="fab fa-facebook-f"></i></a>
<a href="https://twitter.com/tarasis"><i class="fab fa-twitter"></i></a>
<a href="https://www.instagram.com/tarasis/"><i class="fab fa-instagram"></i></a>
</div>
<footer>
<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>.

View File

@ -11,3 +11,11 @@ Added basic files for css and javascript, including a .jshintrc file
}
```
Set up basic styling into the CSS from the style doc. Add colors, font + sizes.
Add font awesome to index.html + setup attribution
Add basic tags to index.html for header/main/footer, then in main splitting into 3, text headings, form and dashboard illustration.
__Q should the copyright be added to the footer or the bottom of the main????__