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

              
                <html>
  
  
  
  
  
  
  
  





<body onload="odliczanie()", "zmienslajd()">
  
<!-- Navbar section -->
  
<nav class="navbar navbar-light navbar-expand-md" id="#">
  <div class="navbar-header">
   <a href="#" class="navbar-brand"><img src="https://vignette.wikia.nocookie.net/lifeofheroesrp/images/2/2b/Mario_icon_bubble.png/revision/latest?cb=20120708185516" class="navbar-left" id="navLogo"></a> 
    
  </div>
  <button class="navbar-toggler navbar-dark" type="button" data-toggle="collapse" data-target="#navbarNav">
  <span class="navbar-toggler-icon"></span>
   </button>
  <div class="collapse navbar-collapse" id="navbarNav">
  <ul class="navbar-nav ml-auto">
 <li class="navbar-item">
    <a href="#about" class="nav-link"><button id="btn1" type="button" class="btn btn-nav btn-lg">About me</button></a>
  </li>
  <li class="navbar-item">
    <a href="#portfolio" class="nav-link"><button id="btn2" type="button" class="btn btn-nav btn-lg">Portfolio</button></a>
  </li>
  <li class="navbar-item">
    <a href="#contact" class="nav-link"><button id="btn3" type="button" class="btn btn-nav btn-lg">Contact</button></a>
  </li>
</ul>
    </div>
  </nav>
  
  <!-- About me section -->
  
  <section class="about-section" id="about">
  
  <div class="jumbotron" id="jumbotron1">
    <div class="container">
    <div class="row">
      <div class="col-sm-12 col-lg-7">
    <h1 class="display-3 text-center"> About me</h1>
    <p class="lead display-5"><b>Michał Dziadkowiec</b> - I'm gonna be a Front End Developer! <br>:-D. I've just started to learn it so be tolerant, please. I need to put some text on the page so that's why I've written this meaningless text. This sentence was written only to make the whole text longer.</p>
    </div>
      <div class="col-sm-12 col-lg-5">
<img id="fotoMe" class="img-fluid img-circle img-responsive" src="http://www.ian-young.net/wp-content/uploads/2014/06/Al-Pacino.jpg" alt="Michał Dziadkowiec">
      </div>


 
    </div>    
  </div>
  </div>
  </section>
  
  
  <!-- PORTFOLIO section -->
  
  <section class="portfolio-section" id="portfolio">
    <div class="container">
      <h2 class="display-2 text-center">Portfolio</h2>
      <p class="lead text-center">Here will be my projects in the future!</p>
      
      <div class="row">
        <div class="col-sm-6 col-lg-4">
      <div class="card mt-3" style="width: 100%;">
 <a href="https://getbootstrap.com/docs/4.0/components/card/#sizing" target="_blank"> <img class="card-img-top" src="https://wallpaperscraft.com/image/clouds_milky_way_eclipse_light_68883_1024x768.jpg" alt="Clouds Milky" id="fotoPortfolio1"></a>
  <div class="card-body">
    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
  </div>
</div>
        </div>
        <div class="col-sm-6 col-lg-4">
      <div class="card mt-3" style="width: 100%;">
  <a href="https://getbootstrap.com/docs/4.0/components/card/#sizing" target="_blank"><img class="card-img-top" src="https://wallpaperscraft.com/image/clouds_milky_way_eclipse_light_68883_1024x768.jpg" alt="Clouds Milky"></a>
  <div class="card-body">
    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
  </div>
</div>
        </div>
        <div class="col-sm-6 col-lg-4">
      <div class="card mt-3" style="width: 100%;">
 <a href="https://getbootstrap.com/docs/4.0/components/card/#sizing" target="_blank"> <img class="card-img-top" src="https://wallpaperscraft.com/image/clouds_milky_way_eclipse_light_68883_1024x768.jpg" alt="Clouds Milky"></a>
  <div class="card-body">
    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
  </div>
</div>
        </div>
      
        <div class="col-sm-6 col-lg-4">
      <div class="card mt-3" style="width: 100%;">
 <a href="https://getbootstrap.com/docs/4.0/components/card/#sizing" target="_blank"><img class="card-img-top" src="https://wallpaperscraft.com/image/clouds_milky_way_eclipse_light_68883_1024x768.jpg" alt="Clouds Milky"></a>
  <div class="card-body">
    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
  </div>
</div>
        </div>
        <div class="col-sm-6 col-lg-4">
      <div class="card mt-3" style="width: 100%;">
  <a href="https://getbootstrap.com/docs/4.0/components/card/#sizing" target="_blank"><img class="card-img-top" src="https://wallpaperscraft.com/image/clouds_milky_way_eclipse_light_68883_1024x768.jpg" alt="Clouds Milky"></a>
  <div class="card-body">
    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
  </div>
</div>
        </div>
        <div class="col-sm-6 col-lg-4">
      <div class="card mt-3" style="width: 100%;">
  <a href="https://getbootstrap.com/docs/4.0/components/card/#sizing" target="_blank"><img class="card-img-top" src="https://wallpaperscraft.com/image/clouds_milky_way_eclipse_light_68883_1024x768.jpg" alt="Clouds Milky"></a>
  <div class="card-body">
    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
  </div>
</div>
        </div>
      </div>
     </div>
    </section>
  
  <!-- CONTACT section -->
  
  <section class="contact-section" id="contact">
    
    <h3 class="display-3 text-center pb-5">Contact</h3>
    <div class="container">
<div class="row">
  <div class="col-lg-6 col-sm-12">
    
              <!-- INPUTS -->
    <form>
      <div class="form-group">
    <label for="name"></label>
    <input type="name" class="form-control form-control-lg" id="name" placeholder="Your name">
<hr>
  </div>
  <div class="form-group">
    <label for="email"></label>
    <input type="email" class="form-control form-control-lg" id="email" placeholder="Your Email">
    <hr>
  </div>

    <div class="form-group">
    <label for="phoneNumber"></label>
    <input type="phoneNumber" class="form-control form-control-lg" id="phoneNumber" placeholder="Your phone number">
      <hr>
  </div>
    <div class="form-group">
    <label for="textMessage"></label>
    <textarea class="form-control form-control-lg" id="textMessage" rows="3" placeholder="Write your message here!"></textarea>
<hr>
  </div>
    </form>
    <button type="submit" class="btn btn-dark" id="send-btn"> Send</button>
    <hr>
    </div>
  
  <!-- Social Media -->
  <div class="col-lg-6 col-sm-12">
    <div class="jumbotron text-center" id="jumbotron2">
    <a href="https://www.facebook.com" target="_blank">
      <i class="fab fa-facebook-square fa-5x" style="text-decoration: none" id="facebookIcon"></i>
      </a>
    <a href="https://www.google.com" target="_blank">
      <i class="fab fa-google-plus-square fa-5x" id="googleIcon"></i>
      </a>
    <a href="https://www.instagram.com" target="_blank">
      <i class="fab fa-instagram fa-5x" id="instagramIcon"></i>
      </a>
    <a href="https://www.linkedin.com" target="_bank">
      <i class="fab fa-linkedin fa-5x" id="linkedinIcon"></i>
      </a>
    <a href="https://www.freecodecamp.com" target="_blank">
      <img src="https://pbs.twimg.com/profile_images/692531829287567360/ytP7U362_400x400.png" alt="FreeCodeCamp icon" id="freeCodeCampIcon"></a>
      
    </div>
  </div>
    </div>
    </section>
    
    <!-- BOTTOM section -->

<section class="bottom-section" id="bottom">
  <div class="containter-fluid">
    <div class="row">
<div class="col-sm-12 col-lg-6">
  <h4 class="text-center">Designed and coded by Michał Dziadkowiec.</h4>
  </div>
  <div class="col-sm-12 col-lg-6"><p class="lead text-center">
The page was created as a project of <a href="https://www.freecodecamp.com" target="_blank" style="text-decoration: none"> freeCodeCamp.com </a>course.</p>
    
  
    
    <!-- practicing JavaScript -->
    <p> Java Script practicing (seconds)</p>
    <div id="zegar"></div>
    
    
    <!-- SLIDER practicing -->
    
    
    
    
    </div>
  </div>
  </div>
    </section>
  
  
  
  
  
 
    
   






              
            
!

CSS

              
                /* GENERAL */

body {margin-top: 0px;
background-color: #e6e6e6;}



/* navigation bar */

.navbar {position: fixed;
top: 0;
  width: 100%;
  overflow: hidden;
  z-index: 999999;
  background-color: #5c5c8a;
opacity: 0.9;
filter: alpha(opacity=50);
filter: grayscale(20%);}

.navbar-item {
text-align:right; /* makes buttons right after collapsing */
} 

.btn-nav {color: white;
background-color: #5c5c8a;
border-style: none;
border-size: 1px;
  border-color: #4040bf;}

.btn:hover {opacity: 0.7;
  color: #ff4d4d;
  background-color: #47476b;
  box-shadow: 0px 8px 20px #47476b;
}

#navLogo {width: 70px;
height: 70px;
filter: grayscale(40%);}

.navbar-toggler-icon {color: white;}

#navLogo:hover {opacity: 0.8}


/* ABOUT section */

#jumbotron1 {background-image: url("http://pillift.pl/wp-content/uploads/2017/10/grey-abstract-tech-geometric-polygonal-motion-background-video-low-poly-animation-ultra-hd-4k-3840x2160_bhffvoz9p__F0000.png");
border-bottom: 3px solid #cc6600;}

.about-section {background-color: #b7b7b7;
padding-top: 95px;}

#fotoMe {border-radius: 50%;
width: 100%;
height: 100%;
filter: grayscale(50%);
  box-shadow: 0px 50px 700px #5c5c8a;
}


/* PORTFOLIO section */

.portfolio-section {padding-top: 100px;
  padding-bottom: 30px;
border-bottom: 3px solid grey;}

.card {
  box-shadow: 0px 8px 20px #999;
}
.card-img-top:hover {opacity: 0.7;}

/* CONTACT section */

.contact-section {padding-top: 100px;
padding-bottom: 50px;
background-color: #cccccc;}

.form-control {background-color: transparent;
border-style: none;}



/* SOCIAL MEDIA / links - ICONS */

#jumbotron2 {background-color: white;
border-radius: 7%;
  padding-top: 40px;
padding-bottom: 0px;}

#facebookIcon {color: #3b5998;}
#facebookIcon:hover {opacity: 0.7;}

#googleIcon {color: #dd4b39;}
#googleIcon:hover {opacity: 0.7;}

#instagramIcon {color: #32506d;}
#instagramIcon:hover {opacity: 0.7;}

#linkedinIcon {color: #007bb5;}
#linkedinIcon:hover {opacity: 0.7;}

#freeCodeCampIcon {border-radius: 10%;
width: 71px;
height: 71px;
margin-bottom: 52px;}
#freeCodeCampIcon:hover {
  opacity: 0.7;}














/* BOTTOM section */

.bottom-section {background-color: #999999;}
              
            
!

JS

              
                /* zegar JS */

function odliczanie()

{ var dzisiaj = new Date();

var sekunda = dzisiaj.getSeconds();
 
 document.getElementById("zegar").innerHTML = sekunda;
 
 setTimeout("odliczanie(), 1000;")
}

/* photo slider */


$(document).ready(function(){
    $("#btn1").click(function(){
        $("#btn1").animate({height: "60px"});
    });
    $("#btn1").click(function(){
        $("#btn1").animate({height: "50px"});
    });
  
});

$(document).ready(function(){
    $("#btn2").click(function(){
        $("#btn2").animate({height: "60px"});
    });
    $("#btn2").click(function(){
        $("#btn2").animate({height: "50px"});
    });
  
});

$(document).ready(function(){
    $("#btn3").click(function(){
        $("#btn3").animate({height: "60px"});
    });
    $("#btn3").click(function(){
        $("#btn3").animate({height: "50px"});
    });
  
});





              
            
!
999px

Console