<!DOCTYPE HTML>
<html>

  <link href="https://fonts.googleapis.com/css?family=Archivo" rel="stylesheet">
  
  <link href="https://fonts.googleapis.com/css?family=Damion" rel="stylesheet">
  
  <link href="https://fonts.googleapis.com/css?family=Pattaya" rel="stylesheet">
  
  <head>
  <title>Product Landing Page FCC</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  </head>
 
  <!-- SECTION ONE -->
  
  <body>
    
    <div id="cart"></div>
    <header id="header">
     <nav id="nav-bar">
       <img id="header-img" src="https://cdn4.iconfinder.com/data/icons/drink-me/500/hot-512.png" alt="Logo">
      <ul>
         <li><a class="nav-link" href="#main">Coffee</a></li>
         <li><a class="nav-link" href="#video-intro">Blog</a></li>
         <li><a class="nav-link" href="#footer">Contact</a></li>
        <li><a class="nav-link" href="#cart">Cart</a></li>
        <ul>
    </nav>
        <h1><u>Good</u> Coffee</h1>
        <h2>Established 1994</h2>
        
   
    </header>
      
 <!-- SECTION TWO -->
      
    <main id="main">
    
    
      <div id="coffee">
      <br>
        <br>
          <br>
      </div>
      
      <div id="wrapper">
        <img id="one" src="https://www.mycoffeeshop.com.au/WebRoot/ecshared01/Shops/mycoffeeshop/MediaGallery/Coffee/Coffee-beans-shutterstock_348790079.jpg" alt="Coffee Beans">
        <ol id="one-text">
        <li><mark>Whole Bean Coffee</mark></li>
        <li>$19 per bag (16oz.)</li>
        <li>.0001 BTC per bag (16oz.)</li><br>
         <button class="btn default">+ Cart</button>
        </ol>
        <br>
        <img id="two" src="https://stonefruitcoffee.com/wp-content/uploads/2015/08/coffee_bag.png" alt="Coffee Beans">
        <ol>
        <li><mark>Roasted Coffee Beans</mark></li>
        <li>$12 per bag (12oz.)</li>
        <li>.00001 BTC per bag (12oz.)</li><br>
        <button class="btn default">+ Cart</button>
        </ol>
        <br>
        <img id="three" src="https://www.hillstreetbevco.com/wp-content/uploads/2017/12/coffee-cat-image.png" alt="Coffee Beans">
        <ol>
        <li><mark>House Beans</mark></li>
        <li>$8 per bag (10oz.)</li>
        <li>.000001 per bag (10oz.)<li><br>
        <button class="btn default">+ Cart</button>
        </ol>
       
      </div>

      <br>
      
      <!-- SECTION THREE -->
      
      <div id="wrapper-two">
      <div id="one-text">
        <li><mark>Whole Bean Coffee</mark></li>
        <li>$19 per bag (16oz.)</li>
        <li>.0001 BTC per bag (16oz.)</li><br>
        <button class="btn default">+ Cart</button>
        </div>
      <div id="two-text">
         <li><mark>Roasted Coffee Beans</mark></li>
        <li>$12 per bag (12oz.)</li>
        <li>.00001 BTC per bag (12oz.)</li><br>
        <button class="btn default">+ Cart</button>
      </div>
        <div id="three-text">
        <li><mark>House Beans</mark></li>
        <li>$8 per bag (10oz.)</li>
        <li>.000001 per bag (10oz.)</li><br>
        <button class="btn default">+ Cart</button>
      </div>
      </div>
      
      <div id="video-intro"><h3>Good Coffee Blog</h3><p id="intro-text">Here at <b>Good Coffee</b>, we know the value in a perfectly roasted bean. So not only do we spend our days and nights perfecting our craft, we also run a blog and have made it our mission to educate coffee lovers on how to get the most flavor and boost from their coffee beans.

      <iframe id="video" width="900" height="615" src="https://www.youtube.com/embed/cqgzwtG2tVQ?rel=0&amp;showinfo=0"  frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
      </div>
   

      
      <!-- SECTION FOUR -->
      
  <div id="bottom">
    <h4>For more videos like this or to recieve our bi-weekly blog posts, just enter your email below and hit subscribe.</h4>
    <form id="form" action="https://www.freecodecamp.com/email-submit">
    <input name="email" id="email" type="email" placeholder="Enter Your Email Address" required/><br><br>
    <input id="submit" type="submit" value="Subscribe" class="btn"></input>
    </form>
      </div>

      
      
      <footer id="footer">
        <p class="contact">503.555.5555</p>
        <p class="contact">welovecoffee@goodcoffee.com<p>
        <p class="contact">1768 SW Barbur Ave. Portland, Ore 98765</p>
         <p class="twitter">Created by<a class="twitter" href="https://twitter.com/AshishKhuraishy" target="_blank">@AshishKhuraishy</p></a>
      </footer>
 
      
      
    </main>
      


    
  </body>
</html>
    
  
  

@import url('https://fonts.googleapis.com/css?family=Lobster+Two|Yesteryear');

html, body {
  margin: 0;
}

/* SECTION ONE */

header {
  width: 100vw;
  background: url(https://images.unsplash.com/photo-1515215234071-62cca5638e20?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=6d57763bd524355adb387031bb24e78e&auto=format&fit=crop&w=1350&q=80);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 50vh;
}

@media (min-width: 600px) {
  header {
    height: 100vh;
  }
}

header h1 {
  text-align: center;
  padding-top: 1.8em;
  font-family: pattaya;
  font-size: 4em;
  color: white;
}

@media (min-width: 600px) {
  header h1 {
    font-size: 10em;
    margin: 0;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 3em;
  }
}

header ul {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  align-items: center;
  padding: .8em;
  margin: 0;
  font-family: archivo;
}

ul {
  background: black;
}

.nav-link {
  text-decoration: none;
  color: white;
  padding: 1em;
}

.nav-link:hover {
  color: black;
  background: white;
}

#header-img {
  max-width: 40px;
  position: absolute;
  left: 1em;
  padding-top: .3em;
}

@media (max-width: 420px) {
  #header-img {
    display: none;
  }
}

#nav-bar {
  position: fixed;
  top: 0;
  width: 100%;
}

@media (max-width: 600px) {
  header ul {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: archivo;
  }
}

/* SECTION TWO */

main {
  margin: 0 auto;
  min-width: 330px;
  padding-top: 4em;
}

h2 {
  text-align: center;
  font-family: arial;
  letter-spacing: 5px;
  font-size: 1em;
  color: white;
  padding: .7em;
}

@media (max-width: 600px) {
  h2 {
    font-size: 10px;
  }
}

#wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 5em;
  font-family: archivo;
}

ol {
  list-style-type: none;
  margin: 0;
  padding: 1em;
}

#one,#two,#three {
  width: 50%;
}

@media (min-width: 600px) {
  #wrapper {
    flex-direction: row;
    height: 300px;
  }
  #one,#two,#three {
    width: 400px;
    padding: 2em;
  }
  ol {
    display: none;
  }
  
  #wrapper-two {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    margin: 0 auto;
    font-size: 1em;
    font-family: archivo;
    padding-bottom: 8em;
    font-size: 23px;
    line-height: 2em;
    max-width: 1200px;
    padding-right: 1em;
  }
  #one-text {
    list-style-type: none;
    text-align: center;
  }
  #two-text {
    list-style-type: none;
    text-align: center;
  }
  #three-text {
    list-style-type: none;
    text-align: center;
  }
  mark {
    background-color: #373737;
    color: white;
    padding: 10px;
  }
}

@media (max-width: 600px) {
  mark {
    color: white;
    background-color: #373737;
    padding: 3px;
  }
  li {
    line-height: 2em;
  }
}

@media (max-width: 600px) {
  #wrapper-two {
    display: none;
  }
}

/* SECTION THREE */

#video {
  margin-top: 60px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100vw;
  margin-bottom: 30px;
}

@media (max-width: 800px){
  #video {
    width: 300px;
  }
}

@media (max-width: 400px){
  #video {
    width: 200px;
  }
}

#video-intro {
  font-family: archivo;
  text-align: center;
  padding: 2em;
  background: #FEDCD2;
  padding-top: 1em;
  font-size: 25px;
}

#intro-text {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 1050px;
  padding-bottom: 3em;
}

h3 {
  font-family: 'pattaya';
  font-size: 3em;
  padding-top: 1em;
}

/* SECTION FOUR */

h4 {
  display: block;
  margin-right: auto;
  margin-left: auto;
  padding-top: 5em;
  font-family: arial;
  text-align: center;
  font-size: 20px;
}

#form {
  padding: 1em;
  text-align: center;
  padding-bottom: 8em;
}

#bottom {
  background: #F8EEE7;
  padding: 1em;
  padding-top: 3em;
  padding-bottom: 3em;
}

#email {
  padding: .8em;
  width: 500px;
  text-align: center;
}

@media (max-width: 500px){
  #email {
    width: 200px;
  }
}

/* FOOTER */

footer {
  padding: 4em;
  background: black;
  color: white;
  text-align: center;
  font-family: archivo;
}

.twitter {
  text-decoration: none;
  float: right;
}

.contact {
  display: flex;
}

@media (max-width: 600px) {
  .contact {
    display: block;
  }
  .twitter {
    display: none;
  }
}



const projectName = 'product-landing-page';
localStorage.setItem('example_project', 'Product Landing Page');
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js