Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Landing Page 2nd time</title>
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt"
    crossorigin="anonymous" />
  <link href="LandingPage.css" rel="stylesheet" />
</head>

<body>
  <div class="wrapper">

    <header id="header">

      <div class="cm-logo">
        <img id="header-img" src="http://www.spellingpower.com/images/CastlemoyleLogoTransparent.gif" alt="Castlemoyle Books" />
      </div>

      <nav id="nav-bar">
        <ul>
          <li>
            <a href="#benefits" class="nav-link">features</a>
          </li>
          <li>
            <a href="#options" class="nav-link">pricing</a>
          </li>
          <li>
            <a href="#how-it-works" class="nav-link">about us</a>
          </li>
        </ul>
      </nav>
    </header>

    <div class="content">

      <div id="top">

        <h1 style="font-size: 200%;">Spelling Power</h1>
        <h3>Receive our free email newsletter!</h3>
        <form id="form" action="https://www.freecodecamp.com/email-submit" method="GET">
          <label id="name-label" for="name">Your name </label>
          <input type="text" name="name" autofocus id="name" placeholder=" Your Name Bub" required />
          <br />
          <label id="email-label" for="email"> Your email</label>
          <input type="email" name="email" id="email" placeholder=" you@domain.com" required />
          <p></p>
          <input id="submit" type="submit" value="Get Started" ></input>
        </form>
        <p>
          <br /> </p>
        <h3>The Only Program You Need to Teach Your Entire Family How to Spell</h3>
        </div>



      <section id="benefits">
        <div class="features">
          <div class="features-image">
            <i style="font-size: 300%;" class="fas fa-user-clock"></i>
          </div>
          <div class="features-desc">
            <h2 style="margin-bottom: 0;">Using Research Proven Strategies</h2>
            <p style="margin-top: 0;">Your students will master the 5,000 most frequently used words at their own pace</p>
          </div>
        </div>
        <div class="features">
          <div class="features-image">
            <i style="font-size: 300%;" class="fas fa-user-clock"></i>
          </div>
          <div class="features-desc">
            <h2 style="margin-bottom: 0;">Lifetime of Spelling</h2>
            <p>Your students will remember their words not just on Friday's test, but for a Lifetime of Spelling Success</p>
          </div>
        </div>

        <div class="features">
          <div class="features-image">
            <i style="font-size: 300%;" class="fas fa-user-clock"></i>
          </div>
          <div class="features-desc">
            <h2 style="margin-bottom: 0;">What do you think here?</h2>
            <p>Your students will remember their words not just on Friday's test, but for a Lifetime of Spelling Success</p>
          </div>
        </div>
      </section>

      <section id="how-it-works">
        <iframe id="video" height="315" src="https://www.youtube-nocookie.com/embed/Y7GJ3P81wCE?rel=0&amp;controls=0&amp;showinfo=0"
          frameborder="0" allowfullscreen></iframe>
      </section>
      <p style="text-align: center;">Watch the Introduction to the Spelling Power Program</p>

      <section id="options">

        <div id="manual">
          <div class="door-title">Spelling Power Manual</div>
          <p>Just the Manual
            <br /> Then roll your own
            <br /> $64.95
          </p>
          <p class="btn">Buy now button</p>
        </div>

        <div id="mini">
          <div class="door-title">Spelling Power Mini-Pack</div>
          <p style="font-size: 90%; text-align: justify;">The 'Mini-Pack' includes your Spelling Power manual, your choice of two
            <i>Student Record Books</i> in your chouce of levels and a set of the
            <i>Activity Task Cards</i>.</p> $113.80
            <form method="post" action="http://www.justaddcommerce.net/o/order.dll">
              <input id="submit" type="submit" value="Buy Now!" class="btn"></input>
              <input type="hidden" value="Spelling Power Mini Pack (LP)" name="sku" />
              <input type="hidden" value="113.80" name="price" /><input type="hidden" value="Spelling Power Mini-Pack" name="description" />
              <input type="hidden" value="3" name="weight" /><input type="hidden" value="yes" name="taxable" />
              <input type="hidden" value="castlemoyle.com" name="merchantname" /><input type="hidden" value="0979-0896-4244-R400" name="merchant" />
              <input type="hidden" name="jac_shopcolors" value="-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1" />
              </form>
        </div>

        <div id="deluxe">
          <div class="door-title">Deluxe Power Pack</div>
          <p style="font-size: 90%; text-align: justify;">The Deluxe Pack has It all! In addition to the items to the left, you also get a set of the Magnetic Letter Tiles
            in a storage box & a Word Bank Box with 400 color coded cards.</p> $64.95
          <p class="btn">Buy now button</p>
        </div>

      </section>

      <footer>
        <ul class="ul-footer">
          <li class="li-footer">
            <a href="#">Shop Now</a>
          </li>
          <li  class="li-footer">
            <a href="#">Privacy</a>
          </li>
          <li  class="li-footer">
            <a href="#">Contact Us</a>
          </li>
        </ul>
        <p class="copyright">� 2018, Beverly L. Adams-Gordon and Castlemoyle Books</p>


      </footer>



    </div>
    <!-- content -->
  </div>
  <!-- wrapper of all -->

</body>

</html>
              
            
!

CSS

              
                * { box-sizing: border-box; 
font-size: 16px;
font-family: Arial, Helvetica, sans-serif;
}

body {
width: 100%;
}

h3 { text-align: center; 
Font-size: 125%;
text-indent: 0
}

li { list-style: none; }

a { color: #000; text-decoration: none; }

header { 
width: 100%;
position: fixed;
top: 0;
display: flex; 
justify-content: space-between;
background-color: #ddd;
}


#header-img  { width: 10vw; 
  }

nav { display: flex; 
      font-weight: 400;
}

#nav-bar { font-family: Arial, Helvetica, sans-serif; 
      font-weight: 400;
}

#nav-bar ul { 
  display: flex; 
  width: 35vw; 
  flex-direction: row; 
  justify-content: space-around;
}

#top { 
  width: 90%;
  margin: auto; 
  text-align: center;
}

.content {
  width: 85%; 
  margin: auto; 
margin-top: 100px;       /* allowing for nav-bar at top */
  background-color: #ffffe0;
}

/* rows at top to sell  */
.features { 
  display: flex;
}

.features-image {
  display: flex;
align-items: center;
justify-content: center;
height: 125px;
  width: 20vw;
  height: auto;
  color: orange;
}

.features-desc {
  display: flex;
  flex-direction: column;  
  justify-content: center;
  height: 125px;
  width: 80vw;
  padding: 2%;
}

.features p { 
  margin-top: -10; 
  }


  #how-it-works {
    margin-top: 50px;
    display: flex;
    justify-content: center;
  }

   #how-it-works iframe {
      max-width: 560px;
      width: 100%;
    }
  }
  

#video { margin: 0 auto; }

.movie { max-width: 560px; width: 75%; height: auto; margin: auto;}

/* New options done w/ ID not class */

#options
{ margin-top:  60px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#manual, #mini, #deluxe {
display: flex;
flex-direction: column;
align-items:  center;
text-align: center;
width: calc(100% / 3);
margin:  10px;
border: 2px solid #000;
border-radius:  5px;
background-color: wheat;
}

#manual, #mini, #deluxe p {padding: 0 2%;}

.door-title {
  font-family: sans-serif;
  font-weight: bold;
  background-color: yellow;
  font-size: 150%;
  margin-top: 0;
  width: 100%;
}

.btn {
    padding: 0.25em 1em .5em 1em;
    border: 1px #ccc solid;
    display: inline-block;
    border-radius: 50px;
    text-decoration: none;
    background-color: orange;
}


/* Footer     */

footer
{ 
  margin-top: 20px;
    padding: 10px; 
background-color: #dddddd;
}
  
.ul-footer {
  display: flex;
  justify-content: flex-end;
  width: 100%;;
  /* flex-direction: row; */
  color: orange;}

  
.li-footer  { 
    padding: 0 10px;  
  color: orange; }
  
.copyright { color:  darkgray;
text-align: right;
font-size: 0.9em;}


@media all and (max-width:800px) {
  #nav-bar ul { 
    display: flex; 
    width: 50vw; 
  }
  

  #door-container {
    flex-direction: column;
}

#options { flex-direction: column;
}

#manual, #mini, #deluxe
{width: 75%; 
      margin: 20px auto; 
    }


@media all and (max-width:500px) {

    #header-img {
        max-width: 300px;
    }
   
    nav {flex-direction: column;
         }
  
             #nav-bar ul { 
              display: flex; 
              width: 35vw; 
              flex-direction: column; 
              justify-content: space-around;
            }
            
   
    .topsection {
        width: 100%;
    }

    .features { 
      display: none;
    }

    .content {
        width: 100%;
    }
    #door-container {
        flex-direction: column;
    }

    #options {
      flex-direction: column;
    }

    .door { width: 95%; 
      margin: 20px auto; 
    }

#manual, #mini, #deluxe
{width: 95%; 
      margin: 20px auto; 
    }

/*    footer area     */
.ul-footer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  flex-direction: column;
  color: orange;}

  .copyright {text-align: center;}


  }
              
            
!

JS

              
                
              
            
!
999px

Console