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

              
                <!doctype html>
<html lang="en">

<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

  <!-- Bootstrap CSS -->
  <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">

  <title>Marketo Landing Page</title>

  <meta class="mktoBoolean" id="TextSection" mktoName="Text Section Display" default="true" false_value="none" true_value="block" false_value_name="Hide" true_value_name="Show">
</head>

<body>

  <!-- Header Section -->
  <header>
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
      <div class="container">
        <a class="navbar-brand" href="#">Your Logo</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNav">
          <ul class="navbar-nav">
            <li class="nav-item active">
              <a class="nav-link" href="#">Home</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="#">Features</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="#">Pricing</a>
            </li>
          </ul>
        </div>
      </div>
    </nav>
  </header>

  <!-- Hero Section -->
  <section class="jumbotron jumbotron-fluid">
    <div class="container text-center">
      <h1 class="display-4">Welcome to Our Marketo Landing Page</h1>
      <p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
      <a href="#" class="btn btn-primary">Learn More</a>
    </div>
  </section>

  <!-- Text Section -->
  <section class="container my-5" id="textSection" style="display: ${TextSection};">
    <div class="row">
      <div class="col-md-12">
        <h2 class="text-center">Text Section Heading</h2>
        <p class="text-justify">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p>
      </div>
    </div>
  </section>

  <!-- Speakers Section -->
  <section class="container my-5">
    <div class="row">
      <!-- Speaker 1 -->
      <div class="col-md-4">
        <div class="card">
          <img src="speaker1.jpg" alt="Speaker 1" class="card-img-top mktoImg" id="speaker1Image" mktoName="Speaker 1 Image">
          <div class="card-body">
            <h5 class="card-title mktoText" id="speaker1Name" mktoName="Speaker 1 Name">Speaker 1 Name</h5>
            <p class="card-text mktoText" id="speaker1JobTitle" mktoName="Speaker 1 Job Title">Speaker 1 Job Title</p>
          </div>
        </div>
      </div>
      <!-- Speaker 2 -->
      <div class="col-md-4">
        <div class="card">
          <img src="speaker2.jpg" alt="Speaker 2" class="card-img-top mktoImg" id="speaker2Image" mktoName="Speaker 2 Image">
          <div class="card-body">
            <h5 class="card-title mktoText" id="speaker2Name" mktoName="Speaker 2 Name">Speaker 2 Name</h5>
            <p class="card-text mktoText" id="speaker2JobTitle" mktoName="Speaker 2 Job Title">Speaker 2 Job Title</p>
          </div>
        </div>
      </div>
      <!-- Speaker 3 -->
      <div class="col-md-4">
        <div class="card">
          <img src="speaker3.jpg" alt="Speaker 3" class="card-img-top mktoImg" id="speaker3Image" mktoName="Speaker 3 Image">
          <div class="card-body">
            <h5 class="card-title mktoText" id="speaker3Name" mktoName="Speaker 3 Name">Speaker 3 Name</h5>
            <p class="card-text mktoText" id="speaker3JobTitle" mktoName="Speaker 3 Job Title">Speaker 3 Job Title</p>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- Footer Section -->
  <footer class="bg-dark text-white py-4">
    <div class="container">
      <div class="row">
        <div class="col-md-6">
          <h4>Your Company</h4>
          <p>12345 Address St, City, State 67890</p>
          <p>Phone: (123) 456-7890</p>
          <p>Email: info@example.com</p>
        </div>
        <div class="col-md-6">
          <h4>Quick Links</h4>
          <ul class="list-unstyled">
            <li><a href="#" class="text-white">Home</a></li>
            <li><a href="#" class="text-white">Features</a></li>
            <li><a href="#" class="text-white">Pricing</a></li>
            <li><a href="#" class="text-white">Contact Us</a></li>
          </ul>
        </div>
      </div>
      <div class="row">
        <div class="col-md-12 text-center">
          <p class="small">&copy; 2023 Your Company. All Rights Reserved.</p>
        </div>
      </div>
    </div>
  </footer>

  <!-- Optional JavaScript -->
  <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.3/dist/umd/popper.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>

</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console