Set up sections/divs for all of the required parts of the page. Now to style
This commit is contained in:
		
							parent
							
								
									ca4fa0b90a
								
							
						
					
					
						commit
						1e0bd290a6
					
				| 
						 | 
					@ -21,5 +21,9 @@ body {
 | 
				
			||||||
    font-size: 20px;
 | 
					    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) {
 | 
					@media screen and (max-width: 600px) {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -10,23 +10,35 @@
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  <title>Frontend Mentor | Ping coming soon page</title>
 | 
					  <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>
 | 
					</head>
 | 
				
			||||||
<body>
 | 
					<body>
 | 
				
			||||||
 | 
					  <header>
 | 
				
			||||||
  We are launching soon!
 | 
					    <div class="logoSection"></div>
 | 
				
			||||||
 | 
					  </header>
 | 
				
			||||||
  Subscribe and get notified
 | 
					  <main>
 | 
				
			||||||
 | 
					    <div class="titleSection">
 | 
				
			||||||
  Notify Me
 | 
					      <p class="line1">We are launching <b>soon!</b></p>
 | 
				
			||||||
 | 
					      <p class="line2">Subscribe and get notified</p>
 | 
				
			||||||
  © Copyright Ping. All rights reserved.
 | 
					    </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>
 | 
					  <footer>
 | 
				
			||||||
 | 
					    <p class="copyright">
 | 
				
			||||||
 | 
					      © Copyright Ping. All rights reserved.
 | 
				
			||||||
 | 
					    </p>
 | 
				
			||||||
    <p class="attribution">
 | 
					    <p class="attribution">
 | 
				
			||||||
      Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>. 
 | 
					      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>.
 | 
					      Coded by <a href="mailto:work@tarasis.net">Robert McGovern</a>.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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????__
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in New Issue