Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!DOCTYPE html>
<html>
<head>

  <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale-1.0"
        name="viewpoint">
  <link href="Product_Landing_Page.css"
        rel="stylesheet">
  <link href="https://fontlibrary.org/face/8bit-wonder"
        media="screen"
        rel="stylesheet"
        type="text/css">
  <title></title>
</head>
<body>
  <div class="wrapper">
    <header class="header"
            id="header">
      <div><img alt="VVVVVV logo"
           class="logo"
           id="header-img"
           src="https://images.launchbox-app.com/ae78e8ce-ae1f-43c3-aa04-56abf00c2536.png"></div>
      <ul>
      <nav class="nav-bar"
           id="nav-bar">
        <a class="nav-link"
             href="#reviews">Reviews</a> <a class="nav-link"
             href="#about-the-game">About the game</a> <a class="nav-link"
             href="#keyfeatures">Key features</a>
        </ul>
      </nav>
    </header>
    <div class="keyfeatures">
      <section id="keyfeatures">
        <br>
        <br>
        <br>
        <h6>Key Features</h6><br>
        <br>
        <ul>
          <li>Elegant, minimalistic level design.</li><br>
          <li>Challenging, fast and fun gameplay.</li><br>
          <li>Frequent checkpoints mean you never have to replay challenges you've already beaten.</li><br>
          <li>Over half an hour of chiptune music by composer Magnus Pålsson.</li><br>
          <li>Special game modes, including time trials and a no death mode.</li>
        </ul>
      </section>
    </div>
    <div class="about-the-game"> 
      <section id="about-the-game" >
  <br>
  <br>
  <h6>About the game</h6>
  <br>
  <br>
  <p>Help! Everyone has been teleported away randomly! As the heroic Captain Viridian, it's up to you to find your friends, bring them back to safety, and save the universe!<br><br>					VVVVVV is a platform game all about exploring one simple mechanical idea - what if you reversed gravity instead of jumping?<br><br>					The game is designed not to artificially gate your progress. In VVVVVV there are no locks, no power-ups, no switches, nothing to stop you progressing except the challenges themselves.</p><br>				
<br>
<br>
  <div class="game_area_description">
   <iframe id="video" type="text/html" width="520" height="250"
  src="https://www.youtube.com/watch?v=sf06P-_1lkU"
  frameborder="0" allowfullscreen/></div>
   
  </section>
  </div>
<br>
<br>

<div class="reviews">
<section id="reviews">
  <h7>Reviews</h7>
  
  <p>“I completed the level and was reduced to disturbingly orgasmic cries. I haven’t felt as good with a videogame, in that direct physical way, for quite a while.”</p>
    <br>
    <a href="http://www.rockpapershotgun.com/2010/01/12/wot-i-think-vvvvvv/" target="_blank" rel="noreferrer"  >Kieron Gillen, Rock, Paper, Shotgun</a><br>“I can't say enough good things about VVVVVV. It's Terry Cavanagh's best game to date, and one of the best platformers I've ever played. If you have any interest in challenging platformers whatsoever, you'd be doing yourself a disservice not to pick up VVVVVV.”<br>10/10 – <a href="http://www.destructoid.com/review-vvvvvv-160087.phtml" target="_blank" rel="noreferrer"  >Anthony Burch, Destructoid</a><br>						 “...it would be wrong to let the sheer fiendishness of Cavanagh’s offering overwhelm any appreciation of the ceaseless elegance of the design.”<br>8/10 – <a href="https://steamcommunity.com/linkfilter/?url=http://www.next-gen.biz/features/review-vvvvvv" target="_blank" rel="noopener"  >EDGE</a></p>
</div>
  </section>
    </div>
 
    <div class="form">
      <form action="https://www.nintendo.com/games/detail/vvvvvv-switch"id="form" name="form">
        <input id="email"name="email" placeholder="Enter email address" type="email" requied>
              <br>
        <input class="btn"
              id="submit"
              type="submit"
              value="Buy now">
      </form>
    </div>
  </div>
</body>
</html>
            
          
!
            
              * {
    margin: 0;
    padding: 0;
    font-family: '8BITWONDERNominal'; 
   font-weight: normal; 
   font-style: normal; 
    background-color: rgb(50, 0, 55);
    color: rgb(115, 185, 210);
  }

/*css code below for mobile versions*/
  .wrapper {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    grid-template-rows: repeat(24, 1fr);
    /*grid-template-areas: 
    ". header header header header header header ."
    ". container container container container conteiner container ."
    ". GamePic GamePic GamePic GamePic GamePic GamePic ."
    ". . form form form form . .";*/
    grid-gap: 5%;
  }

  a:hover { color: purple;}


  .header {
    grid-area:header;
    grid-column: 1/24;
    grid-row: 1/24;
    max-width: 100%;
    height: 11rem;
    position: sticky;
    top: 0;
    padding: 1rem;
    background-color: pink;
}


.nav-bar {
    display: grid;
    grid-auto-flow: column;
    grid-column: auto;
    grid-row: auto;
    width: auto;
    margin: 0;
    background-color: transparent;
    justify-content: space-evenly;
    background-color: blue;
              }


.nav-link {  
    top:0;
    position: sticky;
    padding: 2rem;
    height: auto;
    font-size: 1rem;
    text-decoration: none;
    color: rgb(115, 185, 210);  
    border-color:rgb(115, 185, 210);
   }

.logo {   
    grid-column: auto;
    grid-row: auto;
    border-radius: 50%;
    max-width: 5%;
    height: auto;
    margin-left: 1rem;
    padding: 0;
    top: 0;
    justify-self:start;
    background-color: rgb(0, 0, 0);
}


.keyfeatures {
    grid-column: 2/24;
    grid-row: 5/24;
    max-width: 60%;
    height: 15rem;
    font-size:0.5rem;
    text-align: justify;
    text-justify:left;
    padding: 1rem;   
    background: yellow;
}

.about-the-game {
    grid-column: 2/24;
    grid-row: 9/24;
    max-width: 60%;
    height: 32rem;
    font-size:0.5rem;
    text-align: justify;
    text-justify:left;
    padding: 1rem;   
    font-size:0.5rem;
    background-color: red;
}

.reviews {
    grid-column: 2/24;
    grid-row:15/24;
    max-width: 60%;
    height: 15rem;
    font-size:0.5rem;
    text-align: justify;
    text-justify:left;
    padding: 0rem;   
    font-size:0.5rem;
    background-color: green;
}


.form {
    display: grid;
    position: sticky;
    grid-column: 3/24;
    grid-row: 10/24;
    
    max-width: 1rem;
    height: 1rem;
    justify-self: end;
    padding: 1rem;   
    background-color: orange;
}

#email {
    text-align: center;
    padding: 0.5rem;
    height: auto;
    font-size: 0.5rem;
    position: absolute;
    left: 42%;
    top: 85%;
  }
 
#submit {
    text-align: center;
    padding: 0.5rem;
    height: auto;
    font-size: 0.5rem;
    position: absolute;
    left: 50%;
    top: 91%;
}

#GamePic {
    grid-area: GamePic;
    grid-column: auto;
    grid-row: auto;
    border-radius: 0%;
    max-width: 60%;
    height: auto;
    margin-left: 1rem;
    padding: 0;
    top: 0%;
}


  /*css code below for desktop versions*/ 
  @media screen and (min-width: 736px) {
    .wrapper {
      display: grid;
      grid-template-columns: repeat(24, 1fr);
      grid-template-rows: repeat(24, 1fr);
      /*grid-template-areas: 
      ". header header header header ."
      ". container container conteiner container ."
      ". GamePic GamePic GamePic GamePic ."
            ". . form form . .";*/              
      gap: 5%;
    }
    } 
            
          
!
            
              // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!
    ************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console