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">
    <nav id="nav-bar">
      <div class="container">
      <div><img src="" alt="fender_logo" id="header-img"> </div>
        <li class="list"><a href="#form" class="nav-link">Contact Us</a></li>
     <li class="list"><a href="#guitars" class="nav-link">Guitars</a></li>
        <li class="list"><a href="#video" class="nav-link">History</a></li>

        <h1>The Sound of Rock'n Roll</h1>
        <iframe id="video" width="420" height="315"
      <div class="block" id="guitars">
        <p>Essentially unchanged since its 1954 debut, it is the most popular and influential electric guitar ever, and players at all levels and in all genres continue to rely on its sound, playability and versatility to this day.</p>
        <p>The Tele®, as it was often called then and still is today, was the first solid-body Spanish-style electric guitar to be commercially mass-produced.</p>
        <p>Originally designed for Jazz players in mind, this guitar has been embraced by alternative rock musician with its offset design.</p>
    <div class="contact">
   <form id="form" action="">
     <input class="field" type="email" placeholder="Your e-mail" name="email" id="email" required>
     <input class="button"  id="submit" type="submit" value="Sign Up">



                body {
  background: cream;

#header-img {
  width: 110px;
  margin-top: 0px;
.list {
  list-style-type: none;
  float: right;  
  padding-left: 5px;
  padding-right: 15px;

a {
  font-size: 1.3em;
  font-family: helvetica;
  text-decoration: none;
  color: black;

iframe {
  display: flex;
  margin: 0 auto;
  margin-top: 55px;

h1 {
  display: block;
  text-align: center;
  font-family: Verdana;
  padding: 90px;
  margin-top: 60px;

h2 {
  font-family: Verdana;

@media (max-width: 600px) {
  .nav-link {
    list-style-type: none;

.block {
  display: block;
  margin-top: 50px;
  margin-left: 20px;

#header {
  position: fixed;
  top: 0px;
  right: 0px;
  left: 0px;
  overflow: hidden;

.header-img {
  position: fixed;
  left: 0;

p {
  font-family: helvetica;
  font-size: 16px;

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: space-between;

.button {
  margin-left: 30px;
  margin-bottom: 10px;
  margin-top: 10px;
  width: 85px;

.container {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;


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

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