Pen Settings



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


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.


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.


                <script src=""></script>

<header id="header">
  <img id="header-img" src="" alt="original trombones logo"/>

<nav id="nav-bar">
    <li> <a class="nav-link" href="#flex-container">Features</a> </li>
    <li> <a class="nav-link" href="#video">How It Works</a> </li>
    <li> <a class="nav-link" href="#form">Sign up</a> </li>
  <div class="infopage">
   <h1>Handcrafted, home-made masterpieces</h1>
<iframe id="video" width="560" height="315" src="" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
  <form id="form" action="" method="POST">
    <input type="email" id="email" name="email" placeholder="Enter your email address">
    <input type="submit" id="submit" value="Get Started">
    <div id="flex-container">
      <div><h2>Premium Materials</h2><p>Our trombones use the shiniest brass which is sourced locally. This will increase the longevity of your purchase.</p>
      <div><h2>Fast Shipping</h2><p>We make sure you recieve your trombone as soon as we have finished making it. We also provide free returns if you are not satisfied.</p></div>
      <div><h2>Quality Assurance</h2><p>For every purchase you make, we will ensure there are no damages or faults and we will check and test the pitch of your instrument.</p></div>



                #header-img {
  width: 300px;
  margin-top: 10px;
  margin-left: 20px;

header {
  max-width: 100%;
  display: flex;
  background-color: #F5B041;
  position: fixed;
  width: 100%;

#nav-bar {
  width: 100%;

ul {
  list-style: none;
  font-size: 20px;
  font-weight: bold;
  justify-content: space-around;

a {
  text-decoration: none;
  color: black;

iframe {
  margin-left: 28%

h1 {
  text-align: center;

form {
  margin-left: 40%;
  margin-top: 15px;  

body {
  background-color: lightgreen;

@media only screen and (orientation: landscape) {
  body {
    background-color: lightblue;

#flex-container {
  display: flex;
  text-align: center;