Pen Settings



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


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.


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.


                <script src=""></script>
<nav id='navbar'><ul>
  <li> <a href="#welcome-section">About</a></li>
  <li><a href="#projects">Work</a></li>
  <li><a href="#contact">Contact</a></li>

<div id="welcome-section" class="intro">
   <img id="main-img" src="" alt="profilepic" />
  <div class="intro-details">
  <h1> Hi </h1>
  <p>I am an aspiring Web Developer </p>

<div id="projects" class="work">
  <h2 class="work-header"> Here are some of my projects.... </h2>
  <a href="" target="_blank" class="project project-tile">
    <img class="project-pic" src="" alt="project1" />
    <div class="project-title"> CSS Documentation </div> </a>
  <a href="" target="-blank" class="project project-tile">
    <img class="project-pic" src="" alt="project2">
    <div class="project-title"> Flip Card Login </div>

  <a href="" target="_blank" class="project project-tile">
    <img class="project-pic" src="" alt="project3" />
    <div class="project-title"> Tribute Page </div> </a>
  <a href="" target="_blank" class="project project-tile">
    <img class="project-pic" src="" alt="project4" />
    <div class="project-title"> Project Landing Page </div> </a>

<a href="" target="_blank" class="project project-tile">
    <img class="project-pic" src="" alt="project5" />
    <div class="project-title"> Fitness Form </div> </a>
<div id="contact" class="contact">
  <img class="contact-img" src="" alt="Lets work together" /></a>
  </div><a href="" target="_blank" class="contact-details">Facebook </a>
 <a id="profile-link" href="" target="_blank" class="contact-details">Github </a>
  <a href="" target="_blank" class="contact-details">Twitter </a>
  <a href="" target="_blank" class="contact-details">Instagram </a>
  <a href="" target="_blank" class="contact-details">Send a mail </a> </div>

<footer class="footer"> <h4> Made by @km-py 


body {
  font-family: 'Open Sans', sans-serif;
  text-align: center;


 border-radius: 100%;
  height: 160px;
  width: 160px;
  margin-top: -70px;

 background-image: url("");    
background-position: center; 
background-repeat: no-repeat; 
background-size: cover;

  text-size: 400;
  color: white;
  text-shadow: 2px 2px black; 

  position: fixed;

nav ul li{
  margin-top: 25px;

nav ul li a{
  color: white;
  text-decoration: none;

nav ul li a:hover{
  color: black;
  font-weight: bold;
  text-shadow:0px 0px;
  padding: 10px;
  border-radius: 5px;

  padding-top: 60px;
    margin-top: -60px;

.work .work-header{
  color: #E75480;

  text-decoration: none;
  display: inline-block;
  overflow: hidden;
  border: 2px solid lightblue;
  height: 220px;
  width: 280px;
  margin: 40px 100px;

  background: #E75480

.project-pic {
  width: 260px;
  height: 160px;
  padding-top: 5px;
  border-bottom: 2px solid lightblue;

.project-title {
  font-weight: bold;
  padding-top: 7px;

@media only screen and (max-width: 500px) {
  nav ul {
    text-align: center;
  nav ul li {
    margin: 20px;
  .project {
    margin: 40px 0;

  background: white;
  padding-bottom: 60px;

  width: 60%
  padding: 160px 0 110px;

  display: inline-block;
  font-weight: bold;
  margin: 20px 35px 45px 35px;
  list-style-type: none;
  border: 2px solid #90C695;
  border-radius: 100%;
  width: 100px;
  height: 100px;
  line-height: 100px;
  background: #FFCFDE;
  color: #E75480;
  text-decoration: none;
  padding: 30px;
  box-shadow: 5px 5px 10px ;

.contact-details:hover {
  background: white;
  color: #740023;
  padding: 15px;
  border: .5px solid pink;

footer {
  padding: 20px;
  background: #740023;
  color: white;
  line-height: 40px;

footer a {
  color: white;

@media only screen and (max-width: 367px)
    border: 2px solid #90C695;
    border-radius: 0;
    width: 90px;
    height: 20px;
    padding: 10px;
    line-height: normal;



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