css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

              <div id="sleep" class="step" data-x="-1000" data-y="-1500">

  <h1>Link... Link... wake up..</h1>

  <a href="#wakeup">Wake up</a>
  <a href="#sleep">Go back to sleep</a>

<div id="wakeup" class="step" data-x="0" data-y="-1500">
  <H1>Link! Thank goodness your awake!</H1>
  <p>A fairy has finally come to you! It is time to begin your adventure!</p>

  <p><img src="http://static.tvtropes.org/pmwiki/pub/images/Delia_Ketchum_589.jpg"></p>

  <a href="#more">Tell me more</a>
  <a href="#sleep">Go back to sleep</a>

<div id="more" class="step" data-x="0" data-y="-1500" data-z="1500">
  <H1>Go see Professor Oak at once!</h1>
  <p>He will help you find all the Dragonballs!</p>

  <a href="#oak">Okay! Go See Professor Oak</a>
  <a href="#sleep">Go back to sleep</a>


<div id="oak" class="step" data-x="850" data-y="3000" data-z="1000" data-rotate="90">
  <H1>Hiya Link! You're off to save Princess Zelda eh? Why not take a Pokemon with you!</h1>

  <a href="#empty">Choose Bulbasaur</a>
  <a href="#empty">Choose Charmander</a>
  <a href="#empty">Choose Squirtle</a>
  <a href="#sleep">Go back to sleep</a>

<div id="empty">
  <h1>The Pokeball is empty</h1>
  <p>I'm sorry Ash. It looks like that one is already chosen.</p>
  <a href="#oak">Choose again.</a>
  <a href="#pika">What else you got?</a>

<div id="pika">
  <h1>I think there is one more Pokemon..</h1>
  <p>Here is one more Pokeball. But I must warn you he is a fiesty little fella</p>
  <a href="#open-pika">Open Pokeball</a>
    <a href="#oak">Nah.</a>

<div id="open-pika">
  <p>Congratuations! You recieved a Lv 5 Pikachu! Fork this pen to continue the adventure!</p>
  <a href="#sleep">Start over</a>

<div id="grass">
  <h1>You recieved Bulbasaur</h1>
  <P> Go grass type! I hope we don't enounter a Charmander..</p>
  <a href="#leave-town">Start our journey as a Pokemon trainer</a>
              html, body {
  /* Disable Scroll */

div {
  height: 100%;
🕑 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.
Loading ..................