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

              
                <!--  SCRIPTS-->
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/397b00c9d6.js" crossorigin="anonymous"></script>

<!-- NAVBAR STARTING  -->
<nav id="navbar" class="navbar navbar-expand-lg navbar-dark fixed-top" style="background-color:#c93066;">
  <a class="navbar-brand">Chubiyojo</a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <div class="collapse navbar-collapse" id="navbarNav">
    <ul class="navbar-nav">
      <li class="nav-item">
        <a class="nav-link" href="#home">Home <span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item"> <a class="nav-link" href="#welcome-section">Welcome</a></li>
      <li class="nav-item"> <a class="nav-link" href="#projects">Projects</a></li>
      <li class="nav-item"> <a class="nav-link" href="#contact">Contact</a></li>
    </ul>
  </div>
</nav>
<!-- NAVBAR ENDING  -->


<!-- MAIN STARTING  -->
<main id="home">
  <!-- WELCOME SECTION STARTING  -->
  <section id="welcome-section"> 
    <div class="jumbotron">
        <h1>Hi I'm chubiyojo</h1>
        <h2>Welcome to my portfolio</h2>
    </div>
  </section>
  <!-- WELCOME SECTION ENDING  -->
  
  <!-- PROJECTS SECTION STARTING  -->
  <section id="projects" class="container-fluid">
    <div class="row">
  <div class="col-xs-12 col-md-12 col-lg-4">
    <div class="card project-tile">
      <img src="https://codepen.io/michaeladejoh02/pen/dyMVzmx/image/small.png" class="card-img-top" alt="project-tile image">
      <div class="card-body">
        <a href="https://codepen.io/michaeladejoh02/full/dyMVzmx" target="_blank"  class="btn btn-primary">Personal Portfolio</a>
      </div>
    </div>
  </div>
      <div class="col-xs-12 col-md-12 col-lg-4">
        <div class="card project-tile">
          <img src="https://codepen.io/michaeladejoh02/pen/XWdggxY/image/small.png" class="card-img-top" alt="project-tile image">
      <div class="card-body">

        <a href="https://codepen.io/michaeladejoh02/full/XWdggxY" target="_blank" class="btn btn-primary">Technical Documentation</a>
      </div>
    </div>
  </div>
      <div class="col-xs-12 col-md-12 col-lg-4">
        <div class="card project-tile">
          <img src="https://codepen.io/michaeladejoh02/pen/LYNyzdd/image/small.png" class="card-img-top" alt="project-tile image">
      <div class="card-body">
        <a href="https://codepen.io/michaeladejoh02/full/LYNyzdd" target="_blank" class="btn btn-primary">Product landing page</a>
      </div>
    </div>
  </div>
</div>
    <div class="row">
  <div class="col-xs-12 col-md-12 col-lg-4">
    <div class="card project-tile">
      <img src="https://codepen.io/michaeladejoh02/pen/BaKWERx/image/small.png" class="card-img-top" alt="project-tile image">
      <div class="card-body">
        <a href="https://codepen.io/michaeladejoh02/pen/BaKWERx" target="_blank" class="btn btn-primary">Survey Form</a>
      </div>
    </div>
  </div>
      <div class="col-xs-12 col-md-12 col-lg-4">
        
        <div class="card project-tile">
          <img src="https://codepen.io/michaeladejoh02/pen/KKzWEbR/image/small.png" class="card-img-top" alt="project-tile image">
      <div class="card-body">
        <a href="https://codepen.io/michaeladejoh02/full/KKzWEbR" target="_blank" class="btn btn-primary">Tribute page</a>
      </div>
    </div>
  </div>
      <div class="col-xs-12 col-md-12 col-lg-4">
        <div class="card project-tile">
          <img src="https://codepen.io/michaeladejoh02/pen/zpobMV/image/small.png" class="card-img-top" alt="project-tile image">
      <div class="card-body">
        <a href="https://codepen.io/michaeladejoh02/full/zpobMV" target="_blank" class="btn btn-primary">Image filters</a>
      </div>
    </div>
  </div>
</div>
  </section>
  <!-- PROJECTS SECTION ENDING  -->
</main>
<!-- MAIN ENDING  -->

<!-- FOOTER STARTING  -->
<footer id="contact">
  <div class="container contact-header">
    <h1> My contact information...</h1>    
    </div>
    <div class="container contact-details">
            <a href="http://twitter.com/chubiyojo__" target="_blank">   <div><i class="fab fa-twitter"></i> Twitter</div></a>
             <a href="http://instagram.com/chubiyojo__" target="_blank"><div><i class="fab fa-instagram"></i> Instagram </div></a>
      <a href="https://www.freecodecamp.org/fccc448d8b5-f655-4c28-8a55-5d83f5aeef47" target="_blank" id="profile-link"><div><i class="fab fa-free-code-camp"></i> FreeCodeCamp </div></a>
    </div>
</footer>
<!-- FOOTER ENDING  -->
              
            
!

CSS

              
                *{
  box-sizing:border-box;
}
html {
  scroll-behavior: smooth;
}
body {
/*   padding-top: 50px;  */
  font-family: aladin;
  
}
main{
    text-align:center;
}

#welcome-section{
  height:100vh;
}
#welcome-section .jumbotron{
  background-color:#63c9ff;
  height:100%;
}
#welcome-section .jumbotron h1{
  margin:100px;
}
#projects{
  background-color:#30C993;
  padding:30px;
}
#projects .row{
  margin:15px;
}
 .project-tile{
   background-color:#9330C9;
    margin:15px;
  }
.project-tile a.btn{
  position:relative;
  transition:ease 0.2s;
}
.project-tile a.btn:hover{
  transform: scale(1.1);
}
#contact{
  color:whitesmoke;
  background-color:#a59be1;
  width:100%;
  text-align:center;
  height:40vh;
  padding:55px;
}
#contact .contact-header h1{
  font-size:3.3em;
}
#contact .contact-details div{
  display:inline-block;
}
#contact .contact-details{
  margin-top:30px;
   font-size:1.6em;
}
#contact a{
  margin-right:30px;
  color:whitesmoke;
  position:relative;
   top: 0;
  transition: top ease 0.5s;
}
#contact a:hover{
  text-decoration:none;
  top:10px;
}
              
            
!

JS

              
                // // Bind all a href clicks to this function
//         $(document).on('click', 'a', function(event){

//             // Prevent default events
//             event.preventDefault();

//             // Animate the body (html page) to scroll to the referring element 
//             $('html, body').animate({
//                 scrollTop: $( $.attr(this, 'href') ).offset().top
//             }, 800);

//         });
// document
//   .getElementsByClassName('nav-links')
//   .scrollIntoView({ behavior: 'smooth' });
              
            
!
999px

Console