Advertisement
makispaiktis

Codecademy - 16th Exercise (HTML - MY WEBSITE STYLE GUIDE)

Oct 19th, 2019 (edited)
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 3.31 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4.   <!-- HEAD -->
  5.   <head>
  6.     <title>My Website Style Guide</title>
  7.     <link href="./styles.css" type="text/css" rel="stylesheet">
  8.     <!-- Importing 2 Google Fonts: Nunito Sans and Poppins -->
  9.     <link href="https://fonts.googleapis.com/css?family=Nunito+Sans|Poppins&display=swap" rel="stylesheet">
  10.   </head>
  11.  
  12.  
  13.   <!-- BODY -->
  14.   <body>
  15.    
  16.     <!-- Header section -->
  17.     <header>
  18.       <h1>My Website Style Guide - Design Options</h1>
  19.     </header>
  20.    
  21.     <!-- Main Section -->
  22.     <main>
  23.      
  24.       <!-- 1. Colors -->
  25.       <section class="colors">
  26.         <h2>Colors</h2>
  27.         <div class="cool-blue">
  28.           <p>Cool Blue</p>
  29.           <p>#2d5dcc</p>
  30.         </div>
  31.         <div class="pink">
  32.           <p>Pink</p>
  33.           <p>#d957d9</p>
  34.         </div>
  35.         <div class="mint-green">
  36.           <p>Mint Green</p>
  37.           <p>#4fe0b0</p>
  38.         </div>
  39.         <div class="beige">
  40.           <p>Beige</p>
  41.           <p>#efd9ca</p>
  42.         </div>
  43.       </section>
  44.      
  45.       <!-- 2. Fonts -->
  46.       <section class="fonts">
  47.         <h2>Fonts</h2>
  48.         <div class="source-code-pro">
  49.           <p class="underline">Source Code Pro</p>
  50.           <p>The quick brown fox jumps over the lazy dog.</p>
  51.           <p><strong>The quick brown fox jumps over the lazy dog.</strong></p>
  52.           <p><em>The quick brown fox jumps over the lazy dog.</em></p>
  53.         </div>
  54.         <div class="nunito-sans">
  55.           <p class="underline">Nunito Sans</p>
  56.           <p>The quick brown fox jumps over the lazy dog.</p>
  57.           <p><strong>The quick brown fox jumps over the lazy dog.</strong></p>
  58.           <p><em>The quick brown fox jumps over the lazy dog.</em></p>
  59.         </div>
  60.         <div class="poppins">
  61.           <p class="underline">Poppins</p>
  62.           <p>The quick brown fox jumps over the lazy dog.</p>
  63.           <p><strong>The quick brown fox jumps over the lazy dog.</strong></p>
  64.           <p><em>The quick brown fox jumps over the lazy dog.</em></p>
  65.         </div>
  66.       </section>
  67.      
  68.       <!-- 3. Text Styles -->
  69.       <section class="text-styles">
  70.         <h2>Text Styles</h2>
  71.         <div class="h1">
  72.           <h1>H1: Main page heading</h1>
  73.           <ul>
  74.             <li>Font-weight: 700 (bold)</li>
  75.             <li>Font-size: 26px</li>
  76.             <li>Font-family: Nunito Sans</li>
  77.           </ul>
  78.         </div>
  79.         <div class="h2">
  80.           <h2>H2: Subheading</h2>
  81.           <ul>
  82.             <li>Font-weight: 500</li>
  83.             <li>Font-size: 18px</li>
  84.             <li>Font-family: Poppins</li>
  85.           </ul>
  86.         </div>
  87.         <div class="p">
  88.           <p>p: Paragraph Text</p>
  89.           <ul>
  90.             <li>Font-weight: 400 (regular)</li>
  91.             <li>Font-size: 14px</li>
  92.             <li>Font-family: Poppins</li>
  93.           </ul>
  94.         </div>
  95.       </section>
  96.      
  97.     </main>
  98.    
  99.     <footer>
  100.       <h3>Made By: Thomas Boufikos<h3>
  101.       <h3>e-mail: <a href="https://accounts.google.com/ServiceLogin/signinchooser?service=mail&passive=true&rm=false&continue=https%3A%2F%2Fmail.google.com%2Fmail%2F&ss=1&scc=1&ltmpl=default&ltmplcache=2&emr=1&osid=1&flowName=GlifWebSignIn&flowEntry=ServiceLogin" target="_blank">thomasboufikos@gmail.com</a></h3>
  102.     </footer>
  103.      
  104.   </body>
  105.  
  106.  
  107.  
  108. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement