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

+ 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

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

              
                <div id="page-wrapper">
  <header id="header">
    <div id="Logo">
      <img id="header-img" src="https://upload.wikimedia.org/wikipedia/en/thumb/5/55/The_Muppets_Studio_logo.png/220px-The_Muppets_Studio_logo.png" alt="The Muppets Studio">
    </div>

    <nav id="nav-bar">
      <ul>
        <il><a class="nav-link" href="#video">Video</a></il>
        <il><a class="nav-link" href="#box1">Plans</a></il>
        <il><a class="nav-link" href="#lorem">Info</a></il>
      </ul>
    </nav>

  </header>
  <h1>Get the Muppets to cover your band</h1>

  <div class="flex-container">
    <form id="form" action="https://www.freecodecamp.com/email-submit">
      <input name="email" id="email" type="email" placeholder="Email" required>
      <input id="submit" type="submit">
    </form>
  </div>

  <div class="flex-container , showcase">
    <iframe id="video" width="420" height="315" src="https://www.youtube.com/embed/tgbNymZ7vqY">
    </iframe>
  </div>
  <div id="box1" class="plans">
    <h4 class="box-headers">The Basic Beast</h4>
    <p>In this plan you will get to meet the Muppet and do one studio track</p>
    <p class="price">$1,000</p>
  </div>
  <div id="box2" class="plans">
    <h4 class="box-headers">The kermit Plan</h4>
    <p>In this plan you get all of the Basic Beast Plan and a live showing</p>
    <p class="price">$2,500</p>
  </div>
  <div id="box3" class="plans">
    <h4>The Ms.Piggy Premium</h4>
    <p>In this plan You get</p>
    <ul>
      <li>full band cover</li>
      <li>Three showing</li>
      <li>A meet & greet after showings</li>
    </ul>
    <p class="price">$5,000</p>
  </div>
  <div id="lorem">
    <h2>Info</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras tempus non nulla eget interdum. Curabitur sollicitudin erat eget dolor dapibus fringilla. Duis tempus diam ut lectus venenatis, vel venenatis dui lacinia. Nullam pharetra volutpat justo, non vulputate sapien. Maecenas at sollicitudin magna. Praesent et volutpat ipsum. Donec purus libero, pretium at dolor et, elementum eleifend elit. Praesent accumsan, metus in hendrerit facilisis, urna magna dapibus magna, eget interdum massa est in quam. Mauris luctus, risus et imperdiet hendrerit, nibh dolor commodo libero, non ullamcorper purus quam ac enim. Phasellus euismod dignissim auctor. Maecenas ex dui, ullamcorper sed tincidunt eget, ultricies quis sapien. Etiam dignissim placerat quam. In tempus luctus dolor id volutpat. Maecenas ut pulvinar orci, a porta mauris. Donec luctus hendrerit turpis, eget accumsan mi mattis quis. Curabitur ac ante vitae mi euismod sollicitudin.</p>
    <h2>Showing</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras tempus non nulla eget interdum. Curabitur sollicitudin erat eget dolor dapibus fringilla. Duis tempus diam ut lectus venenatis, vel venenatis dui lacinia. Nullam pharetra volutpat justo, non vulputate sapien. Maecenas at sollicitudin magna. Praesent et volutpat ipsum. Donec purus libero, pretium at dolor et, elementum eleifend elit. Praesent accumsan, metus in hendrerit facilisis, urna magna dapibus magna, eget interdum massa est in quam. Mauris luctus, risus et imperdiet hendrerit, nibh dolor commodo libero, non ullamcorper purus quam ac enim. Phasellus euismod dignissim auctor. Maecenas ex dui, ullamcorper sed tincidunt eget, ultricies quis sapien. Etiam dignissim placerat quam. In tempus luctus dolor id volutpat. Maecenas ut pulvinar orci, a porta mauris. Donec luctus hendrerit turpis, eget accumsan mi mattis quis. Curabitur ac ante vitae mi euismod sollicitudin.</p>
    <h2>Locations</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras tempus non nulla eget interdum. Curabitur sollicitudin erat eget dolor dapibus fringilla. Duis tempus diam ut lectus venenatis, vel venenatis dui lacinia. Nullam pharetra volutpat justo, non vulputate sapien. Maecenas at sollicitudin magna. Praesent et volutpat ipsum. Donec purus libero, pretium at dolor et, elementum eleifend elit. Praesent accumsan, metus in hendrerit facilisis, urna magna dapibus magna, eget interdum massa est in quam. Mauris luctus, risus et imperdiet hendrerit, nibh dolor commodo libero, non ullamcorper purus quam ac enim. Phasellus euismod dignissim auctor. Maecenas ex dui, ullamcorper sed tincidunt eget, ultricies quis sapien. Etiam dignissim placerat quam. In tempus luctus dolor id volutpat. Maecenas ut pulvinar orci, a porta mauris. Donec luctus hendrerit turpis, eget accumsan mi mattis quis. Curabitur ac ante vitae mi euismod sollicitudin.</p>
  </div>

  <footer>
    <ul>
      <li><a href="#">Privacy</a></li>
      <li><a href="#">Terms</a></li>
      <li><a href="#">Contact</a></li>
    </ul>
    <span>Copyright 2021</span>
  </footer>

</div>
              
            
!

CSS

              
                #nav-bar {
  overflow: hidden;
  background-color:;
  position: fixed;
  top: 0;
  width: 100%;
}

#nav-bar .nav-link {
  float: right;
  display: auto;
  color: green;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
 
}
.flex-container{
  display: flex;
  justify-content: center;
}
.showcase{
  padding-top: 30px;
}
h1{
  text-align: center;
  color: rgb(113, 235, 52);
 
}
@media (any-hover: hover) {
  a:hover {
    background: rgb(113, 235, 52) ;
  }
}

.plans{
  width: 18%;
  float: left;
  margin-top: 19px;
  margin-left: 200px;
   border-width:5px;  
    border-style:outset;
  background-color:rgb(113, 235, 52);
 border-color:rgb(212,175,55);
}

#box1{
 text-align: justify;
  padding-bottom: 52px;
}
#box2{
  padding-bottom: 52px;
}
.price{
  text-align:center;
  
}
h4{
  text-align:center;
  font-style:italic;
  font-size: 20px;
}
footer{
  clear:left;
  margin-top: 300px;
  background-color: #ddd;
  padding: 20px;
}
footer > ul {
  display: flex;
  justify-content: flex-end;
}

footer > ul > li {
  padding: 0 10px;
   list-style-type: none;
}

footer > span {
  margin-top: 5px;
  display: flex;
  justify-content: flex-end;
  font-size: 0.9em;
  color: #444;
}
#lorem{
  clear:left;
}

              
            
!

JS

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

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

              
            
!
999px

Console