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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<header>
<div>
<nav class="navbar">
<img src="https://i.imgur.com/ubreZtd.png" width="100px", height="50px">    
</nav>
</div>
</header>
<body>
  <div>
<h1 class="titles">About Us</h1>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi pretium mi odio, vel varius enim bibendum et. Vestibulum 
posuere odio. Curabitur sed turpis in ante dictum consectetur eget a sem. Nullam sit amet mauris ut risus sollicitudin
euismod</p>
<p>in sit amet libero. Aliquam sapien metus, aliquam varius purus et, imperdiet tristique augue. Integer dapibus sed mauri
vel viverra. Integer egestas orci in dignissim rutrum. Duis ac justo volutpat, laoreet lectus vitae, interdum elit.
Phasellus molestie metus at quam feugiat, id congue odio mattis. Sed ac leo metus. Phasellus convallis venenatis leo rutrum
tempus. In massa nulla, auctor sed mattis id, scelerisque quis lacus. Nulla facilisi. Pellentesque lorem quam, dignissim sit
amet euismod quis, gravida convallis sem. Vivamus ornare sodales magna, in volutpat tortor aliquam in.s. </p>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi pretium mi odio, vel varius enim bibendum et. Vestibulum 
posuere odio. Curabitur sed turpis in ante dictum consectetur eget a sem. Nullam sit amet mauris ut risus sollicitudin
euismod</p>
<p>in sit amet libero. Aliquam sapien metus, aliquam varius purus et, imperdiet tristique augue. Integer dapibus sed mauri
vel viverra. Integer egestas orci in dignissim rutrum. Duis ac justo volutpat, laoreet lectus vitae, interdum elit.
Phasellus molestie metus at quam feugiat, id congue odio mattis. Sed ac leo metus. Phasellus convallis venenatis leo rutrum
tempus. In massa nulla, auctor sed mattis id, scelerisque quis lacus. Nulla facilisi. Pellentesque lorem quam, dignissim sit
amet euismod quis, gravida convallis sem. Vivamus ornare sodales magna, in volutpat tortor aliquam in.s. </p>
</div>
<h1 class="titles">Services</h1>
<form class="boxes">
  <div class="box">
  <b class="text">Music</b>
  <p class="text">
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. Mauri.</p>
 <a button onclick="#" class="button" href="#">Submit</a></button>   
 </div>
<div class="box">
 <b class="text">Design</b>
  <p class="text">
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. Mauri.</p>
 <a button onclick="#" class="button" href="#">Submit</a></button>   
</div>
<div class="box">
 <b class="text">Video</b>
  <p class="text">
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. Mauri.</p>
<a button onclick="#" class="button" href="#">Submit</a></button></form></div>
<div class="samples">
<h1 class="titles">Samples</h1>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi pretium mi odio, vel varius enim bibendum et. Vestibulum 
posuere odio. Curabitur sed turpis in ante dictum consectetur eget a sem. Nullam sit amet mauris ut risus sollicitudin
euismod</p>
<p>in sit amet libero. Aliquam sapien metus, aliquam varius purus et, imperdiet tristique augue. Integer dapibus sed mauri
vel viverra. Integer egestas orci in dignissim rutrum. Duis ac justo volutpat, laoreet lectus vitae, interdum elit.
Phasellus molestie metus at quam feugiat, id congue odio mattis. Sed ac leo metus. Phasellus convallis venenatis leo rutrum
tempus. In massa nulla, auctor sed mattis id, scelerisque quis lacus. Nulla facilisi. Pellentesque lorem quam, dignissim sit
amet euismod quis, gravida convallis sem. Vivamus ornare sodales magna, in volutpat tortor aliquam in.s. </p>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi pretium mi odio, vel varius enim bibendum et. Vestibulum 
posuere odio. Curabitur sed turpis in ante dictum consectetur eget a sem. Nullam sit amet mauris ut risus sollicitudin
euismod</p>
<p>in sit amet libero. Aliquam sapien metus, aliquam varius purus et, imperdiet tristique augue. Integer dapibus sed mauri
vel viverra. Integer egestas orci in dignissim rutrum. Duis ac justo volutpat, laoreet lectus vitae, interdum elit.
Phasellus molestie metus at quam feugiat, id congue odio mattis. Sed ac leo metus. Phasellus convallis venenatis leo rutrum
tempus. In massa nulla, auctor sed mattis id, scelerisque quis lacus. Nulla facilisi. Pellentesque lorem quam, dignissim sit
amet euismod quis, gravida convallis sem. Vivamus ornare sodales magna, in volutpat tortor aliquam in.s. </p>
</div>
</body>
</html>
              
            
!

CSS

              
                .navbar {
  border-bottom: 4px solid #434343;
  background-color:#AFAFAF;
  height: 50;
  position: fixed;
  width: 100%;
  margin-top: -7px;
margin-left: -7px;
}

.box {
  width: 170px;
  height: 300px;
  border: 5px solid  #434343;
  border-color: black;
  float: left;
  margin-left: 20px;
  margin-top: 45px;
  background: #525252;
  text-align: center;
}
.boxes {
  display: inline-block;
}

.button {
overflow: hidden;
background-color: #000000;
padding: 5px;
border-radius: 3px;
float: center;
text-decoration: none;
text-align: center;
font-size: 20px;
font-family: impact, sans-serif;
color: #949494;
}

.button:hover {
background-color: #525252;
color:#000000;
font-size: 15px;
}

.text {
text-decoration: none;
text-align: center;
font-size: 15px;
font-family: impact, sans-serif;
color: #FFFFFF;
}

.titles {
text-align: center;
}

.samples {
margin-top: 40px;
 
}
              
            
!

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