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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.


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.


  <header id="header">
    <div id="logo">
      <img src="" alt="green turtle logo" id="header-img"></img>
      <h1>Green Turtle Coffee co.</h1>
      <nav id="nav-bar">
        <ul class="topnav">
          <li><a href="#movie" class="nav-link">Why Green Turtle?</a></li>
          <li><a href="#product" class="nav-link">Check out our coffee</a></li>
          <li><a href="#form" class="nav-link">Join our mailing list</a></li>
  <body id="body">
    <h2 id="movie">Learn more about us</H2>
      <iframe width="930" height="315" src="" title="YouTube video player" frameborder="0"              allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen id="video"              class="video"></iframe>
       <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas auctor sem nec magna euismod mollis. Vestibulum ante ipsum           primis in faucibus orci luctus et ultrices posuere cubilia curae; Vivamus quis tortor et justo sollicitudin faucibus. Aliquam             mattis, metus quis eleifend ultrices, nisi turpis imperdiet dolor, at suscipit nisl massa et ipsum. Sed tristique sapien eget leo         accumsan finibus. Phasellus elementum malesuada nunc in molestie. Nullam ultrices nibh et luctus fermentum. Nulla sit amet tempus         turpis. Fusce sed dolor vel nisl finibus maximus. Aliquam at pulvinar urna. Nullam sollicitudin volutpat efficitur.

        <p>Aenean varius, lacus a varius malesuada, nunc dui tempus ex, ut suscipit ligula tellus ut mauris. Ut luctus vitae dolor et             imperdiet. Cras dapibus ullamcorper odio, sed commodo ligula dignissim consectetur. Suspendisse faucibus justo vitae magna               ultrices sagittis. Etiam ac eleifend elit, vitae condimentum quam. Suspendisse potenti. Proin vitae porttitor arcu. Curabitur vel         mauris congue, consequat metus vitae, blandit ligula. Orci varius natoque penatibus et magnis dis parturient montes, nascetur             ridiculus mus. Vivamus aliquet vestibulum est vel dapibus. Integer fermentum condimentum ante, ac maximus eros gravida vel. Fusce        mattis ex id nunc sodales mollis. 
    <h2 id="product">Our Coffees</h2></br>
        <div class="flex-container">
           <div class="flex-box">
             <h3>Tortuga Light Roast</h3>
             <img class="coffee" src="">
              <p>Our signature light roast.  Bright, but never boring. Acidic with hints of stonefruit.</p>
            <div class="flex-box">
              <h3>Tortoise Medium Roast</h3>
              <img class="coffee" src="">
             <p>Our bestselling medium roast.  Balanced with chocolate and blackberry tasting notes.</p>
            <div class="flex-box">
                <h3>Leatherback Dark Roast</H3>
                <img class="coffee" src="">
                <p>Dark and full-bodied. Smokey with a hint of dark chocolate. Sure to perk you up!</p>
            <div class="flex-box">
              <h3>Snapper Super Dark</h3>
              <img class="coffee" src="">
              <p>Phil's favorite, finally availible year-round for other masochists.</p>
  <p><strong>Join our mailing list!</strong></p>
  <form id="form" action="">
    <label for="name">Name</label>
    <input type="text" id="name" name="name" placeholder="Guy Dudbreau"></br>
    <label for="email">Email</label>
    <input type="email" name="email" id="email" placeholder=""></br>
    <input type="submit" value="submit" id="submit" class="btn">


                @media screen and (max-width: 600px) {
  .video{display: none;


  margin 50px;

  list-style-type: none;
  margin: 0px;
  top: 0;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;

  display: block;

a {
   padding: 8px;
   background-color: #cc3300;

li a:hover{

  background: #c6ff1a;
.flex-container {
    justify-content: space-around;
    background-color: #cc3300;
    width: 500px;
    height: 500px;
  width: 300px;
  max-width: 100%;
  height: auto;



                // !! 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. 

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - 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.