Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <header class="border-bottom border-3 border-dark mb-5">
  <nav class="navbar navbar-expand-md navbar-dark .bg-light" style="background-color: #75a0a7 !important">
    <div class="container-xl">
      <a class="navbar-brand" href="index.html"><img src="https://assets.codepen.io/6306176/gulp-logo-light.png" alt="Gulp Coffee logo" width="150" /></a>
      <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>

      <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav ms-auto mb-2 mb-lg-0">
          <li class="nav-item">
            <h5><a class="nav-link fs-4" href="https://codepen.io/lucia-mendez-the-sasster/pen/zYeMZXp">
                About</a></h5>
          </li>
          <li class="nav-item">
            <h5><a href="https://codepen.io/lucia-mendez-the-sasster/pen/dyaQevd" class="nav-link fs-4">
                Locations</a></h5>
          </li>
          <li class="nav-item">
            <h5><a href="https://codepen.io/lucia-mendez-the-sasster/pen/NWomzMV?editors=1000" class="nav-link fs-4">FAQ</a></h5>
          </li>
          <li class="nav-item">
            <h5><a href="https://codepen.io/lucia-mendez-the-sasster/pen/NWomzMV" class="nav-link fs-4">Coffee</a></h5>
          </li>
          <li class="nav-item">
            <h5><a href="https://codepen.io/lucia-mendez-the-sasster/pen/dyaQevd" class="nav-link fs-4">
                Contact</a></h5>
          </li>
        </ul>
      </div>
    </div>
  </nav>
</header>

<div class="container-xl text-center text-secondary">
  <section>
    <p class="text-center">
    <h1>Best Coffee in the Bay Area</h1>
    <p>Our Roasted Coffee Beans offers the world a chance to brighten every day with a whole lot of flavor and inspiration.</p>

    <p class="d-inline-flex gap-1">
      <button class="btn btn-primary" style="background-color: #215660 !important" type="button" data-bs-toggle="collapse" data-bs-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
        Coffee Warning
      </button>
    </p>

    <div class="collapse p-3 bg-warning text-body-secondary" id="collapseExample" style="Background-color: #75a0a7 !important">
      <div class="card card-body">Drinking more than 4 cups of coffee daily is possibly unsafe. Drinking large amounts might cause side effects due to the caffeine content. These side effects can range from mild to serious and include headache and irregular heartbeat.
      </div>
    </div>

    <div class="row">
      <div class="col-sm-12 col-md-6 col-lg-4 mt-3 d-flex">
        <div class="card bg-dark text-light rounded-4" style="background-color: #215660 !important">
          <h2 class="card-header">Columbian-Blended Espresso Beans</h2>
          <img src="https://assets.codepen.io/6306176/gulp-espresso.jpg" alt="gulp espresso" class="img-fluid">
          <div class="card-body">
            <p class="fst-italic">Bourbon &middot; Cherry &middot; Milk Chocolate </p>
            <p>With our Columbian-Blended Espresso Beans, you can finally feel like a professional barista. Bright and clean with an intense burst of flavor, these full-bodied beans strike a perfect balance between the most delicate roasts and fruitful aromas.
              Brew Method: Espresso machine Sizes: 12 oz.: $20 5 lb.: $90</p>
          </div>

          <div class="card-footer text-center">
            <p><a href="https://codepen.io/lucia-mendez-the-sasster/pen/NWomzMV" class="btn btn-dark" style="background-color: #75a0a7 !important">Try Today</a></p>
          </div>
        </div>
      </div>
      <div class="col-sm-12 col-md-6 col-lg-4 mt-3 d-flex">
        <div class="card bg-dark text-light rounded-4" style="background-color: #215660 !important">
          <h2 class="card-header">Triple-Blended Coffee Beans</h2>
          <img src="https://assets.codepen.io/6306176/gulp-triple-blended.jpg " alt="gulp triple blend." class="img-fluid">
          <div class="card-body">
            <p class="fst-italic">Dark chocolate &middot; Caramel &middot; Papaya</p>
            <p>A skillfully roasted and carefully blended, our Triple-Blended Coffee Beans don’t just wake you up in the morning, they pack a lasting punch that's sure to leave you wanting more. With silky smoothness and layered flavors, there’s really no better way to start your day.
              Brew method: French press. Sizes: 12 oz.: $18 5 lb.: $85</p>
          </div>

          <div class="card-footer text-center">
            <p><a href="https://codepen.io/lucia-mendez-the-sasster/pen/NWomzMV" class="btn btn-dark" style="background-color: #75a0a7 !important">Buy Blend</a></p>
          </div>
        </div>
      </div>
      <div class="col-sm-12 col-md-6 col-lg-4 mt-3 d-flex">
        <div class="card bg-dark text-light rounded-4" style="background-color: #215660 !important">
          <h2 class="card-header">Lightly Roasted Coffee Beans</h2>
          <img src="https://assets.codepen.io/6306176/gulp-light-roast.jpg " alt="gulp-light-roast" class="img-fluid">
          <div class="card-body">
            <p class="fst-italic">Cherry &middot; Mangosteen &middot; Fig</p>
            <p>Our Lightly Roasted Coffee Beans offer the world a chance to brighten every day with a whole lot of flavor and inspiration. Try these to receive the perfect balance between bold flavor and subtle sweetness. Brew method: Aeropress Sizes: 12 oz.: $18 5 lb.: $85</p>
          </div>

          <div class="card-footer text-center">
            <p><a href="https://codepen.io/lucia-mendez-the-sasster/pen/NWomzMV" class="btn btn-dark" style="background-color: #75a0a7 !important">Get it Today</a></p>
            </div< /div>
          </div>
        </div>
  </section>
</div>

<footer class="border-dark border-top border-3 text-center py-5 mt-5" style="background-color: #75a0a7 !important">
  <div class="container-sm">
    <p>&copy;2022 Trilogy Education Services, a 2U, Inc. brand. All Rights Reserved.</p>
    <p><small>This site is operated by Trilogy Education Services for educational purposes only. This is not a coffee products website. This is a fictitious company and scenario intended only for internal academic purposes.</small></p>
  </div>
</footer>
              
            
!

CSS

              
                



              
            
!

JS

              
                

              
            
!
999px

Console