Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

HTML

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Chelsea+Market&display=swap" rel="stylesheet">
<html lang="es">
  <body>
    <header id="header">
      <nav id="nav-bar">
        <img id="header-img" src="https://s3.amazonaws.com/freecodecamp/original_trombones.png" alt="logo" />
      
        <ul id="ul-header">
          <li class="nav-link" href="#section2"><a href="#section2">Features</a></li>
          <li class="nav-link" href="#watch"><a href="#watch">How It Works</a></li>
          <li class="nav-link" href="#pricing"><a href="#pricing">Pricing</a></li>
        </ul>
      </nav>
    </header>
    <section id="section">
        <p id="p1"><strong>
        HandCrafted, home-made masterpieces
          </strong></p>
      <div>
        <form id="form" action="https://www.freecodecamp.com/email-submit">
          <input id="email" name="email" placeholder="Subscribe here with your e-mail" type="email" required/>
          <input type="submit" name="submit" id="submit">
        </form>
        </div>
      </section>
    <section id="section2">
        <ul id="ul2">
          <li><i class="fas fa-clipboard-check"></i> <strong> Premium Materials:</strong> Our trombones use the shiniest brass which is sourced locally. This will increase the longevity of your purchase.</li>
          <li class="li2"><i class="fas fa-truck-moving"></i> <strong>Fast Shipping:</strong> 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.</li>
          <li class="li2"><i class="fas fa-battery-full"></i><strong> Quality Assurance: </strong> 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.</li>
        </ul>
      </section>
    <section id="watch">
      <iframe id="video" width="560" height="315" src="https://www.youtube.com/embed/y8Yv4pnO7qc" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    </section>
    <section id="pricing">
      <ul class="ul3">
        <li class="li4">TENOR TROMBONE</li>
            <li>$ 600 .-</li>
            <li>Lorem ipsum.</li>
            <li>Lorem ipsum.</li>
            <li>Lorem ipsum dolor.</li>
            <li>Lorem ipsum.</li>
            <li><button >Select</button></li>
      </ul>
      <ul class="ul3">
        <li class="li4">BASS TROMBONE</li>
            <li>$ 900 .-</li>
            <li>Lorem ipsum.</li>
            <li>Lorem ipsum.</li>
            <li>Lorem ipsum dolor.</li>
            <li>Lorem ipsum.</li>
            <li><button >Select</button></li>
      </ul>
      <ul class="ul3">
        <li class="li4">VALVE TROMBONE</li>
            <li>$ 1200 .-</li>
            <li>Lorem ipsum.</li>
            <li>Lorem ipsum.</li>
            <li>Lorem ipsum dolor.</li>
            <li>Lorem ipsum.</li>
        <li><button >Select</button></li>
      </ul>
    </section>
    <footer id="footer">
      <p>Desarrollado por <a href="https://twitter.com/MaxiSilva93_AR" target="_blank">Maximiliano Silva</a> para <a href="https://freecodecamp.org" target="_blank">FreeCodeCamp.org</a></p>
    </footer>
  </body>
</html>
              
            
!

CSS

              
                body{
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
}
#nav-bar {
  background-color: #ffd3e1;
  display: flex;
  width: 100%;
  flex: 0 0 60px;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  position: fixed;
}
#header-img {
  height: 30px;
  display: flex;
}
#ul-header {
  list-style: none;
  display: flex;
  justify-content: space-around;
  width: 300px;
}
main {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}
#p1 {
  margin-top: 70px;
  font-size: 25px;
}
#email {
  margin-top: 120px;
  margin-left: -330px;
  height: 20px;
  width: 200px;
}
#section {
  display: flex;
  flex: 0 0 50px;
  flex direction: column;
  justify-content: center;
}
#submit {
  height: 26px;
}
#submit:hover {
  background-color: #a8df65;
}
#section2 {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  border: 1px solid black;
  margin-top: 75px;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 50px;
}
.li2 {
  margin-top: 35px;
}
#ul2 {
  list-style: none;
  font-size: 25px;
}
i {
    font-size: 45px;
}
ul li strong {
  color: #e71414;
}
ul li {
  margin-right: 10px;
}
a {
  color: black;
}
#watch {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}
.video {
  height: 100%;
  width: 100%;
}
#pricing {
  margin: 0;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-around;
  background-color: #fee2b3;
  flex: 1 0 250px;
}
.ul3 {
  display: flex;
  list-style: none;
  border: 1px solid black;
  align-items: center;
  flex-direction: column;
  width: 25%;
  justify-content: space-around;
  text-align: center;
}
.li4 {
  flex: 0 1 35px;
  background-color: grey;
  width: 100%;
  text-align: center;
}
footer {
  background-color: #edf492;
  font-family: Chelsea Market, san-serif;
  text-align: center;
  color: #1b6ca8;
}
@media only screen and (max-width: 900px) {}
              
            
!

JS

              
                
              
            
!
999px

Console