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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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>

<!DOCTYPE html>

<html>

<head>
  <link href="https://fonts.googleapis.com/css?family=Pathway+Gothic+One" rel="stylesheet">
</head>
  
<div id="page-wrapper">
  <body>
    <header id="header">
      <div id="header-img-div">
        <img id="header-img" src="https://previews.dropbox.com/p/thumb/AAZ0PDlby7mcOzs7OIVL7o-uzw5Ul59oprh8gPY13e2NNTV9uNvQ7VNFkV3rX9mjQ6I7fvGZCnsDqhgbsHE71hVObmuq84CnVEhO6-0Izy--tT5QVoQpG6bMrBmhCyiFIgUJLfCtjWVUZlyd4vmeXWsIGttkrN84EpxdiKa8AexNTpuG8vezCsGqTTXgwcwXgqpGtUftyYPhbh1eRboyTKIYOlEPupdtnet2J9mNUw_-r_M_xTMFNIX9j8lvwX_KXv44clpvky2Ji5y4OKg0o_AV4N0WUu423qlxwjyz_32avDVCx45ihP8sh2IPt27tT103RXBHjWe_iep2P1BAmF-6/p.png?size_mode=5" alt="Product logo">
      </div>
      <nav id="nav-bar">
        <ul>
          <li><a href="#highlights-div" class="nav-link">Highlights</a></li>
          <li><a href="#demo-section-tab" class="nav-link">Demo</a></li>
          <li><a href="#features-section-tab" class="nav-link">Features</a></li>
        </ul>
      </nav>
    </header>

    <main>
      <div id="info-request">
        <h2>Get in shape with a personal Virtual Trainer&trade; !</h2>
        <p>The first VR application that allows you to exercise alongside a personal trainer in a virtual environment -- all in the comfort of your own home! </p>
        <form id="form" action="https://www.freecodecamp.com/email-submit">
          <input type="email" id="email" name="email" class="input-field" placeholder="Enter your Email Address" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$" required><br>
          <input type="submit" id="submit" value="Tell Me More"></input>
        </form>
      </div>
      <!-----------------------PRODUCT HIGHLIGHTS ------------------>
      <div id="highlights-div">
        <div class="highlights-row">
          <div class="highlight-icon">
            <img class="highlights-icon-img" src="https://previews.dropbox.com/p/thumb/AAYqPVfZwVlOEQ6UjW_B5Slm37Z0IpcWZU0EpR9fIrYgbSoPBVnQEYi6iXWk1jxvHz52VB3H62MHJuBGavM2YKcduiTrzyv9ZG5U06_yMxAUkmP653CB9S7waOOXr_qFFuRj9PQKi_hVA0vJXhsnifo4YHA40eikZNOpprz5Oz8ZaAV1-EZiFi6m6GrUUy0tA_kDtgqrzNTySN2gdwr_P40tbRZz9M7Ym8InyV4vQt9htShTKZAbL3qWfakZ1sz-Wy7iwgi6qGerch6h7h7lVfCZkteKYrjmfWr-D4IQd8-KzAOh7CGQa3Ctdmi49Yj8AVdp0rYDV0jgvBhEGCW4a9OCuy6puoQM8TlaIO6PDGNewqV-8hy1ePvEofRmkjE7JD3FVCue_GBp5lsItZ38YL3T/p.png?fv_content=true&size_mode=5" alt="Icon of a house">
          </div>
          <div class="highlight-desc">
            <div class="highlight-text">
              <h2>Exercise Anytime, Anywhere</h2>
              <p>With Virtual Trainer&trade; you can workout any time it fits into your schedule, without the need to drive to a physical gym. Use all that extra saved time to do the things you love.</p>
            </div>
          </div>
        </div>

        <div class="highlights-row">
          <div class="highlight-icon">
            <img class="highlights-icon-img" src="https://previews.dropbox.com/p/thumb/AAZYGPWN5ySdLy9F31DJp5auu42U2oe92ZgItYHifpCl2ckkK5j767cdbruNpkaldNGmMF-I_zMsyNlVPK6jv7ia8aGe17E5EbgkreAPRVCfvhysDhLH_BbL-avqeeDxnMjLq7CreiHT-1MPj6Yg6LFtGYLaYkRciz_L5qadbH3FG6dQFSUvUPbzmaGYcNnMF4xgMnKefNHwoKdkz_O8MuX7tQgj1x-60gvPN8HwRs45vyLf94d0FCRqSzk6S1TLKa592RUtyZU4rb3SfIUAZGxwzSh8MXdS-bJ90dCRGvpQ7tPUzHgkAmUXXXUevkRWYy29bqgu6vD_skyYr4U-bcn6g2OhOx9v1r1rQB9uRodDFfOM793Gnfu_FbidP4PU3qfj_Od1SR6TUtAX8FcOT-UD/p.png?fv_content=true&size_mode=5" alt="Icon of a piggy-bank">
          </div>
          <div class="highlight-desc">
            <div class="highlight-text">
              <h2>A Fraction Of A Gym Fee</h2>
              <p>No need to pay yearly gym subcriptions, or those monthly memberships filled with extra fees. Pay once and never worry about another payment ever again.</p>
            </div>
          </div>
        </div>

        <div class="highlights-row">
          <div class="highlight-icon">
            <img class="highlights-icon-img" src="https://previews.dropbox.com/p/thumb/AAba5Dwcq0Jwddf-vRYIrQWHbjvIlYNeCCtTC7nwY0e8EbfxKHTfhr7LrHzBhe7D3hK8JDY4liRYIVogefJYae6HMFYifWfFiOaJ4SE9ZW3xcltjLNFYyoFB2WgKi5OCIfVj6TJ2v7VXBhmWG61-4SdwV5i_7jwWsR4bGWxGkmaz5MRZKYvD7vJEp9Xzce5SjJEG4qztIUn7EKIQX3TRFWdzMWK_Pf-FNyCK-jVqnnOhU9wS8PKRdgB4n4HWPhkOUX3nMBr5llKzlHjzGke_MpzadzQCvh-v5ws8VEmMJlfjpW1wrRjM_bKFYGWHrB5NCpEJsC3HmQUU43WBywJZFhj5K7vz-EMLsZKHm4PeAznzcLQYFQ5Th6YRuiIHAD2WOcIrRZ_UivBjxATrwusu1uz9/p.png?fv_content=true&size_mode=5" alt="Icon of a yoga pose">
          </div>
          <div class="highlight-desc">
            <div class="highlight-text">
              <h2>Personalize Your Workout</h2>
              <p>Choose from dozens of different training classes. Virtual Trainer&trade; allows you to customize your coach, your user avatar, and even your workout environment. Yoga at the beach? We've got you covered!</p>
            </div>
          </div>
        </div>
      </div>

<!-----------------------PRODUCT DEMO ------------------>
    <div id="demo-section-tab" class="section-tab"><h2>Check out our demo!</h2>   
    </div>
      <div id="demo">
        <iframe id="video" width="560" height="315" src="https://www.youtube.com/embed/bBIAJplRjaQ" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>       
          <img id="demo-img" src="https://previews.dropbox.com/p/thumb/AAaguLay2NV76V-1dwtSxJBj4LSiVBqYW6trCjPv7tPwFhBhTq1zxPNdoqHN-7AuFddI8lzGYLVruChvI7nrunAP2nwk4QSm9t0TqNxrwmBagZsrkQJNToX7VL4tkZSEiKauUX3hVGxV2P52SyhJxvIFjGLpxE3ezP8PW45vjQsNLaCjhPlIIPc8wEopXYswxa6kUoZHugXIjA_M2mdhPhe2nk1hmKyUjF2Nm_E-Ccxuqpz17nSiIYevE44AGeRCv94gWqgtpD5iUla05p9SQzx0zXEpQePAHnplD6S0qeb3oedlo_wC9jnjJ4rmwrVck_akRp9Cai_kbKh-UkhXVZP6oO7qjvJkRFkzYtq57aJx4hZvOIbTMzW_1PXvSOhSjDVfv2-4cOp2M25GLAQJB98B/p.png?fv_content=true&size_mode=5" alt="Two personal trainers">       
      </div>
     
<!----------------------- PRODUCT FEATURES ------------------>
    <div id="features-section-tab" class="section-tab"><h2>Virtual Trainer&trade; Product Features</h2>
    </div>
      <div id="features">
        <div class="each-feature">
          <div class="feature-desc">
            <h4>Real World Tracking</h4><p>Using cutting edge body-pose estimation technology, Virtual Trainer tracks your body's physical movements in the real world and creates a 3D avatar version of you in the virtual world.</p>
          </div>
          <img class="feature-img" id="skelebody-gif" src="https://previews.dropbox.com/p/orig/AAaHhsTQludD_AEcHWc6YtSeD4pLtXvnY3pu8mZ9QqWJE0bfn48McIljvCunqPyJ5ouabTxrukbwnsKLkh__5u3pjkW3DS9d8mFDZoyYUShc8TVAqOu_2qlwZ-yGjnffcXyJoRUvyhb5YPefQYWdQQNmTlPCnfSw1T3wYJ7TvOprAFALLnFPeRi6MmDJHyPPhFtuMw9LzQcNldsZ0G5wey5CRsiQzL6pKhHU62vWxZYtcOamfxblwIf9vCUUS5OK-aDkezcmCIQQAeRI-eWnRnc4Ewqv5B1RazagwFF3LwHCtelllzVmohsl2f4TziBwH20/p.gif?fv_content=true&size_mode=5" alt="Software tracking user body">
        </div>
        <div class="each-feature" id="min-hardware-feature-flexbox" >
          <img class="feature-img" id="bpe-demo-gif" src="https://previews.dropbox.com/p/thumb/AAbP9sKPxWGOqR8-Kvr_WuEUu9gVKXB2vn9REPLIqVR8evSBFG_P1G-Jb5wVR7TznoUkk23CIn_WO_1dMbwdzw_0fMQJwOf5GDUEUaWlBkOmFZ1Qs3rox_IWYvMf6rJnzKnOplZTp1uCQTxygfjx5SmdAAGFBK47oV_fN1PWLlbEsYU8tUabkEiMwCtyTX_IDlh3G9iucY9hWHf2QdiCrjdQMsh2nPD8_DkDhBCwrRMssu1Erl2SmScddJcnoAnCQTZIA-F9efGPp5DO23h-8NQSghnC4atCahYOcy2i0vpdwQBPOZlKitR7u_mwMyILnuZ7RoA-Zz_EcpjqTo3S5w_RmFzxYj3apwMAYBthhp2HLCs66lpTNnpy6YEFrB9KNtdyrK1Ab98ZaWTBrD39E_SF2_DavpdwT_1Mw_uZhYM9w4Cq3PzvSQXe919XyGZLSSjOLfvf-DjYHbtV0hAQTr8t/p.jpeg?fv_content=true&size_mode=5" alt="Using software with eye gaze">
          <div class="feature-desc">
            <h4>Minimal Hardware</h4><p>Experience Virtual Trainer with any VR headset, even on phone-based systems. Our software doesn't require hand controllers, since you'll enteract with the menu using only your eye gaze.</p>
          </div>
        </div>
        <div class="each-feature">
          <div class="feature-desc">
            <h4>Highly Customizable Experience</h4><p>Feel like doing Tai-Chi on your own personal island? With Virtual Trainer, you can choose from different exercise disciplines such as Yoga, Tai-Chi, and Karate. Then decide if you feel like working out indoors or outdoors. Choose your favorite trainer, customize your avatar, and you're ready to go! </p>
          </div>
           <img class="feature-img" id="bpe-menu-pic" src="https://previews.dropbox.com/p/thumb/AAZRkzObr0zaguiELZAsIOtePQVfFpn21GGMseG28fOa6Zay8wBkWvY48h-5OIfuxO06bFHk89H43zlX0gseRRuuaLf63K7aSmfTS0B8vpBJKfsNcw3MxMmz02X3dMA8Zt4Uilv5uPO8PFBxR4rUE-RGq-x9Y7lHhkRDRRfU-PrNBo33Og5SaBLRTvLOHAzgzNNgX5uJWvWmox8pH8kD9WDxUUV6BR09LeAuGqR_upE4h-phcSFvwAiNjGlZ87GlY-T-OT5SjkYh-8Wz59XKgf-ZhfadkPQHZv6iBCUcHTKcqUwRWNMH7dL5juSZIq5DcsF3x8XDrfuWS73EH_1iSfDi/p.png?fv_content=true&size_mode=5" alt="User customizing their experience">
        </div>   
      </div>

 <!----------------------- PRODUCT INTERACTIONS ------------------>
    <div id="features-section-tab" class="section-tab"><h2>Complete Menu Options:</h2>
    </div>
    
      <div id="interaction-div">
        <div class="interaction-box">
          <div class="interaction-box-header">
            <h5>Exercises</h5>
          </div>
          <div class="interaction-box-body">
            <p>Stretches <p/>
            <p>Tai Chi <p/>
            <p>Yoga <p/>
            <p>Karate <p/>
          </div>         
        </div>
          <div class="interaction-box">
          <div class="interaction-box-header">
            <h5>User and Coaches</h5>
          </div>
          <div class="interaction-box-body">
            <p>Male<p/>
            <p>Female<p/>
            <p>Avatar Height<p/>
          </div>         
        </div>
          <div class="interaction-box">
          <div class="interaction-box-header">
            <h5>Environments</h5>
          </div>
          <div class="interaction-box-body">
            <p>Modern Gym<p/>
            <p>Private Island</p>
            <p></p>
            <p></p>
            <p>Unlock More!</p>
          </div>         
        </div>
      </div>
    
    </main>
 <!----------------------- FOOTER ------------------>
    <footer>
      <p>&copy; Copyright Christian Gutierrez 2019. All rights reserved.</p>
    </footer>
  </body>
</div>

</html>
              
            
!

CSS

              
                html,
body {
  background-color: #fafafa;
  font-family: "Pathway Gothic One", sans-serif; 
}

main{
   max-width: 1000px;
   width: 100%;
   margin: 0 auto;
}

#page-wrapper {
  position: relative;
}

#header {
  position:fixed;
  width: 100vw;
  background-color: #fafafa;
  display: flex;
  height: 88px;
  flex-direction: row;
  justify-content: space-between;
  top: 0;
}

#header-img-div {
  background-color:;
  width: 33vw;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-left: 5vw;
}

#header-img {
  height: 70px;
  padding-top: 15px;
}

header #nav-bar {
  background-color: #fafafa;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;  
}

nav ul {
  list-style-type: none;
  background-color:;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-right: 5vw;
  width: 33vw;
}

nav li a {
  color: black;
  text-decoration: none;
  font-size: 1.25em;
}

nav li a:hover {
  color: teal;
}

/*-----------------------PRODUCT INFO REQUEST ------------------*/
#info-request {
  height: 300px;
  margin-top: 100px;
  margin-bottom: 50px;
  background-color: #fafafa;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#info-request h2 {
  font-size: 40px;
  flex-wrap: wrap;
  background-color: ;
  margin-bottom: 0px;
}

#info-request p {
  font-size: 20px;
  flex-wrap: wrap;
  background-color: ;
}

.input-field {
  height: 20px;
  width: 280px;
  padding: 5px;
  margin: 10px;
  border: 1px solid #c0c0c0;
  border-radius: 2px;
}

#submit {
  background-color: darkorange;
  border-radius: 5px;
  color: #fafafa;
  font-size: 1em;
  height: 40px;
  width: 150px;
  margin: 10px;
  border: 0px solid;
  font-weight: bold;
}

/*-----------------------PRODUCT HIGHLIGHTS ------------------*/
#highlights-div {
  background-color: teal;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%
}

.highlights-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.highlight-icon {
  width: 20%;
  background-color: ;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.highlights-icon-img {
  width: 100px;
}
.highlight-desc {
  background-color: ;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: 80%;
  margin-right: 10px;
}

.highlight-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fafafa;
}

.highlight-text h2 {
  font-size: 30px;
  margin-bottom: 0;
  margin-left: 10px;
}
.highlight-text p {
  font-size: 20px;
  margin-top: 0;
  margin-left: 10px;
}

/*---------------PRODUCT DEMO-----------------*/
.section-tab{
  margin-top: 100px;
  margin-bottom: -35px;
  background-color: ;
  text-align: center;
  font-size: 30px;
}

#video{
  border-style: solid;
  border-width: 5px;
  border-color: black;
}

#demo {
  background-color: ;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 0px;
  padding-top: 0px;
}

#demo-img{
  height: 600px;
}

/*---------------PRODUCT FEATURES-----------------*/

#features {
  background-color: ;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

}

.each-feature{
  display: flex;
  flex-direction: row; 
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.feature-desc{
  padding: 20px;
}

.feature-desc h4 {
  font-size: 35px;
  margin-bottom: 0px;
}

.feature-desc p {
  font-size: 25px;
  margin-top: 5px;
}

.feature-img{
  border-style: solid;
  border-width: 5px;
  border-color: black;
  padding: 0px;
  margin: 20px;
}

#skelebody-gif{
  flex-basis: 50%;
  max-height: 400px;
}

#bpe-demo-gif{
  flex-basis: 50%;
  max-height: 400px;
}

#bpe-menu-pic {  
  width: 400px;
}

/*----------------------- PRODUCT INTERACTIONS ------------------*/

#interaction-div{
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
  margin-bottom: 50px;
}

.interaction-box{
  border-width: 2px;
  border-color: black;
  border-style:solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  
  margin: 10px;
  width: 300px;
  
}

.interaction-box-header{
  background-color: teal;
  width: 100%;
  text-align: center;
  font-size: 35px;
  color: #fafafa;
}

.interaction-box-header h5{
  margin-top: 0px;
  padding-top:15px;
  margin-bottom: 15px;
}

.interaction-box-body{
  background-color: ;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  font-size: 25px;
}

.interaction-box-body p{
  margin-top: 10px;
  margin-bottom: 0px;
}

/*----------------------- FOOTER ------------------*/
footer{
  background-color: teal;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  color: #fafafa;
}

/*----------------------- MEDIA QUERIES ------------------*/
@media(max-width: 1000px){
  .each-feature{ flex-direction: column;}
  #min-hardware-feature-flexbox{flex-direction: column-reverse;}
  #demo-img{display: none}
}


@media (max-width: 560px) {
  .highlights-row {flex-direction: column;}
  .feature-img{width: 100%}
  footer{font-size: 15px;}
  #header-img-div{width: 100vw;justify-content: center;}
  #bpe-menu-pic {  width: 100%;}
  
  #header{    
    background-color: ;
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: center;
    left: 0;
    right: 0;
  } 
  
  #header-img{
    height: 50px;
    background-color:;
  }
  
  header #nav-bar{
    width: 100vw;
    background-color: ;
  }
  
  header #nav-bar ul{
    width: 100%;
    justify-content: space-around;
    margin-top: 0px;
    margin-bottom: 5px;
  }
}

@media (max-width: 500px){

}

              
            
!

JS

              
                

              
            
!
999px

Console