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>
<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>
  </ul>
</nav>

<div id="welcome-section" class="intro">
   <img id="main-img" src="https://instagram.fdel11-1.fna.fbcdn.net/vp/611c5407ab18e4426370ed1145a99a4c/5C05BD51/t51.2885-19/s150x150/38080940_657610681263552_4659071632394944512_n.jpg" alt="profilepic" />
  <div class="intro-details">
  <h1> Hi </h1>
  <p>I am an aspiring Web Developer </p>
</div>
</div>

<div id="projects" class="work">
  <h2 class="work-header"> Here are some of my projects.... </h2>
  
  <a href="https://codepen.io/km-py/full/qyJNja/" target="_blank" class="project project-tile">
    
    <img class="project-pic" src="https://drive.google.com/uc?id=1VUQDs8jH-dK1G9kDvnksfVGuJ8VL2uqy" alt="project1" />
    <div class="project-title"> CSS Documentation </div> </a>
  
  <a href="https://codepen.io/km-py/full/EpQoQV/" target="-blank" class="project project-tile">
    
    <img class="project-pic" src="https://drive.google.com/uc?id=1YGcsfJ9f-8lKFWDOayMyCceUOLI2AU6k" alt="project2">
    <div class="project-title"> Flip Card Login </div>
      </a>

  <a href="https://codepen.io/km-py/full/KBMJyW/" target="_blank" class="project project-tile">
    
    <img class="project-pic" src="https://drive.google.com/uc?id=1Fp9ZJ0WSAClqu7gmYz9BqNLhRiHr8vt3" alt="project3" />
    <div class="project-title"> Tribute Page </div> </a>
  
  
  
  
  <a href="https://codepen.io/km-py/full/OwOmRP/" target="_blank" class="project project-tile">
    
    <img class="project-pic" src="https://drive.google.com/uc?id=1DoB9Xm9rcu9hxJMdtTct62gGp6__1E8y" alt="project4" />
    <div class="project-title"> Project Landing Page </div> </a>



<a href="https://codepen.io/km-py/full/WKGjXw/" target="_blank" class="project project-tile">
    
    <img class="project-pic" src="https://drive.google.com/uc?id=1Y1P-MMX3a-4MhddlBh4ujblupVjllSx_" alt="project5" />
    <div class="project-title"> Fitness Form </div> </a>
  
</div>
<div id="contact" class="contact">
  
  <img class="contact-img" src="https://images.cooltext.com/5186453.png" alt="Lets work together" /></a>
  
  </div><a href="" target="_blank" class="contact-details">Facebook </a>
 <a id="profile-link" href="https://www.freecodecamp.org/fccb450ed69-7364-48dc-af80-a0847937ad29" 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 
  </h4>
  </footer> 
              
            
!

CSS

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

*{
  margin:0;
  padding:0;
}

#main-img{
 border-radius: 100%;
  height: 160px;
  width: 160px;
  margin-top: -70px;
}

.intro{
  top:0;
 background-image: url("http://vbrownbagbrasil.com.br/wp-content/uploads/2018/04/apple_desktop-wallpaper-1920x1080.jpg");    
background-position: center; 
background-repeat: no-repeat; 
background-size: cover;
min-height:55vh;
padding-top:45vh;
}


.intro-details{
  text-size: 400;
  color: white;
  text-shadow: 2px 2px black; 
}


#navbar{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  text-align:right;
  background-color:#E75480;
}

nav ul li{
  display:inline-block;
  margin:55px;
  margin-top: 25px;
  margin-bottom:15px;
}

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

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


.work{
  padding-top: 60px;
    margin-top: -60px;
}

.work .work-header{
  margin-top:50px;
  color: #E75480;
  font-weight:normal;
}

.project{  
  text-decoration: none;
  color:#E75480;
  display: inline-block;
  overflow: hidden;
  border: 2px solid lightblue;
  height: 220px;
  width: 280px;
  margin: 40px 100px;
}

.footer{
  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;
  }
}



.contact{
  background: white;
  padding-top:60px;
  padding-bottom: 60px;
}

.contact-img{
  width: 60%
}
.header{
  padding: 160px 0 110px;
}


.contact-details{
  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 ;
  font-weight:6000;
}


.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)
{
  
  .contact-details{
    border: 2px solid #90C695;
    border-radius: 0;
    width: 90px;
    height: 20px;
    padding: 10px;
    line-height: normal;
  }  
}


              
            
!

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