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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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>
  
  <head>
    <title>My first webpage</title>
  </head>

  <body>
    
    <!-- NAVIGATION -->
    <nav class="navbar navbar-inverse navbar-fixed-top topnav">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#collapseNav" aria-expanded="false">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="https://www.freecodecamp.com/news" target="_blank">Marius Brad</a>
        </div>
        
        <!--NAV MENU -->
          <div class="collapse navbar-collapse" id="collapseNav">
              <ul class="nav navbar-nav navbar-left">
                <li><a href="#home">Home</a></li>
                <li><a href="#portfolio">Portfolio</a></li>
                <li><a href="#about">About</a></li>
                <li><a href="#contact">Contact</a></li>
              </ul>
          </div>
      </div>
    </nav>
    
    <!-- HOME -->
    <a name="home"></a>
    <div class="container-fluid home">
      <div class="page-header">
        <h1 class="text-center">Hello World!</h1>
        <h2 class="text-center">Welcome To My Portfolio Webpage </h2>
      </div>
      <div class="container quote">
        <p>"The programmers of tomorrow are the wizards of the future"</p>
        <p>Gabe Newell, co-founder Valve</p>
      </div>
    </div>
    
    <!-- PORTFOLIO -->
    <a name="portfolio"></a>
    <div class="container-fluid portfolio">
      <h3 class="text-center">My Current Projects</h3>
      <div class="container">
        <div class="row">
        
        <!--Project 1-->
          <div class="col-md-3 col-sm-6 col-xs-12">
            <a href="https://www.freecodecamp.com/challenges/build-a-random-quote-machine" class="project-name" target="_blank">
            <h4 class="text-center">Random Quote Machine</h4>
            </a>
            <p class="text-center">HTML, CSS, JavaScript</p>
            <a href="https://codepen.io/mbrad26/pen/XXxBKB" target="_blank">
              <img src="https://farm2.staticflickr.com/1685/24931180252_287e188080_b.jpg" class="img-responsive img-thumbnail" alt="Random Quote Machine">
            </a>
          </div>
      
      <!--Project 2-->
          <div class="col-md-3 col-sm-6 col-xs-12">
            <a href="https://www.freecodecamp.com/challenges/build-a-tribute-page" class="project-name" target="_blank">
            <h4 class="text-center">Tribute Page</h4>
            </a>
            <p class="text-center">HTML, CSS</p>
            <a href="https://codepen.io/mbrad26/pen/EPMKJy" target="_blank">
              <img src="https://farm2.staticflickr.com/1698/25022889876_db3b787e2a_b.jpg" class="img-responsive img-thumbnail" alt="Citroen DS5">
            </a>
          </div>
     
      <!--Project 3-->
          <div class="col-md-3 col-sm-6 col-xs-12">
            <a href="https://www.freecodecamp.com/challenges/show-the-local-weather" class="project-name" target="_blank">
            <h4 class="text-center">Local Weather App</h4>
            </a>
            <p class="text-center">HTML, CSS, JavaScript, jQuery</p>
            <a href="https://codepen.io/mbrad26/pen/eJaGRL?editors=0011" target="_blank">
              <img src="https://farm2.staticflickr.com/1668/24824244779_5d9bcf5f7a_o.png" class="img-responsive img-thumbnail" alt="Citroen DS5">
            </a>   
          </div>
          
        <!--Project 4-->
           <div class="col-md-3 col-sm-6 col-xs-12">
            <a href="https://www.freecodecamp.com/challenges/build-a-wikipedia-viewer" class="project-name" target="_blank">
            <h4 class="text-center">Wikipedia Viewer</h4>
            </a>
            <p class="text-center">HTML, CSS, JavaScript, jQuery</p>
            <a href="https://codepen.io/mbrad26/pen/bEPmGV?editors=0010" target="_blank">
              <img src="https://farm2.staticflickr.com/1710/25241666865_5998c247d6_o.png" class="img-responsive img-thumbnail" alt="Citroen DS5">
            </a>
          </div>
          
          <!--Project 5-->
          <div class="col-md-3 col-sm-6 col-xs-12">
            <a href="https://www.freecodecamp.com/challenges/use-the-twitchtv-json-api" class="project-name" target="_blank">
            <h4 class="text-center">Twitch.tv JSON API</h4>
            </a>
            <p class="text-center">HTML, CSS, JavaScript, jQuery</p>
            <a href="https://codepen.io/mbrad26/pen/aNoJxJ?editors=0010" target="_blank">
              <img src="https://farm2.staticflickr.com/1709/25855682845_9dc9b28057_o.png" class="img-responsive img-thumbnail" alt="Random Quote Machine">
            </a>
          </div>
          
          <!--Project 6-->
          <div class="col-md-3 col-sm-6 col-xs-12">
            <a href="https://www.freecodecamp.com/challenges/use-the-twitchtv-json-api" class="project-name" target="_blank">
            <h4 class="text-center">JavaScript Calculator</h4>
            </a>
            <p class="text-center">HTML, CSS, JavaScript, jQuery</p>
            <a href="https://codepen.io/mbrad26/pen/BKmyJX" target="_blank">
              <img src="https://farm2.staticflickr.com/1487/26265966631_86ae04cdea_o.png" class="img-responsive img-thumbnail" alt="Random Quote Machine">
            </a>
          </div>
          
           <!--Project 7-->
          <div class="col-md-3 col-sm-6 col-xs-12">
            <a href="https://www.freecodecamp.com/challenges/build-a-pomodoro-clock" class="project-name" target="_blank">
            <h4 class="text-center">Pomodoro Clock</h4>
            </a>
            <p class="text-center">HTML, CSS, JavaScript, jQuery</p>
            <a href="https://codepen.io/mbrad26/pen/GZQpZZ?editors=1010" target="_blank">
              <img src="https://farm2.staticflickr.com/1617/26430333182_6e85b18ebd_o.png" class="img-responsive img-thumbnail" alt="Random Quote Machine">
            </a>
          </div>
      
         </div>
      </div>
    </div>
    
    <!-- ABOUT -->
    <a name="about"></a>
    <div class="container-fluid about">
      <div class="container">
        <div class="row">
     
          <div class="col-md-3">
            <img src="https://farm1.staticflickr.com/596/22135263554_66e0d8b4e9_m.jpg" class="img-responsive img-rounded">
          </div>
          
          <div class="col-md-9">
            <h4 class="text-center">Anybody Can Learn</h4>
            <p class="text-justify">Lorem ipsum dolor sit amet, vis graecis evertitur te, putent feugiat admodum ad mea. Choro graeci percipitur ad per, qui no populo postulant molestiae, ius cu quidam necessitatibus. Id idque quidam  <a href="https://www.youtube.com/watch?v=qYZF6oIZtfc" target="_blank" class="link">YouTube</a> suavitate per, et idque error eos. Id aperiri senserit qui. Vocibus recteque at mel, sea te tota essent iudicabit. Legere mediocrem an qui.</br> So I guess is true then, anybody can learn how to code. </p>
          </div>
          
        </div>
       </div>
    </div>
      
    
    <!-- CONTACT -->
    <a name="contact"></a>
    <div class="container-fluid contact">
      <div class="container">
        <h1 class="text-center">Let's have a chat!</h1>
        <h2 class="text-center">You can find me on:</h2>
        <div class="row">
          <div class="col-md-3">
            <a href="https://www.facebook.com/suiram.b.darb" target="_blank" class="btn btn-default btn-lg btn-block active" role="button">Facebook</a>
          </div>
          <div class="col-md-3">
            <a href="https://twitter.com/mbrad_26" target="_blank" class="btn btn-default btn-lg btn-block active" role="button">Twitter</a>
          </div>
          <div class="col-md-3">
            <a href="https://github.com/mbrad26" target="_blank" class="btn btn-default btn-lg btn-block active" role="button">GitHub</a>
          </div>
          <div class="col-md-3">
            <a href="https://www.freecodecamp.com/mbrad26" target="_blank" class="btn btn-default btn-lg btn-block active" role="button">freeCodeCamp</a>
          </div>
        </div>
      </div>
    </div>
        
 <!--FOOTER-->
      <div class="container-fluid" id="footer">
        <div class="container">
          <footer>&copy; Marius Brad</br><a href="#">Back to top<a></footer>
        </div>
      </div>

  </body>
</html>
              
            
!

CSS

              
                body {
  color: #000;
}

/*NAVBAR*/

.topnav {
  background-color: #000;
  opacity: 0.9;
}

.topnav ul.navbar-nav li a {
  color: #fff;
}

.topnav ul.navbar-nav li a:hover {
  color: #989898 ;
} 

.topnav .navbar-brand {
  text-decoration: none;
  font-size: 1.25em;
  font-weight: bold;
  color: #fff;
}

.topnav .navbar-brand:hover {
  color: #989898; 
}


/*HOME PAGE*/

.home {
  background: url("https://farm2.staticflickr.com/1580/24597763020_73ed3c24af_o.png")  fixed;
  background-repeat: repeat;
  height: 855px;
  padding-top: 60px;
  margin-top: 50px;
  text
}

.page-header h1 {
  font-size: 5em;
  opacity: 0.8;
  margin-top: 65px;
  text-shadow: 0 1px 0 #ccc,
               0 2px 0 #c9c9c9,
               0 3px 0 #bbb,
               0 4px 0 #b9b9b9,
               0 5px 0 #aaa,
               0 6px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.25),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.15);
}

.page-header h2 {
  font-size: 2.75em;
  opacity: 0.8;
  text-shadow: 0 1px 0 #ccc,
               0 2px 0 #c9c9c9,
               0 3px 0 #bbb,
               0 4px 0 #b9b9b9,
               0 5px 0 #aaa,
               0 6px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.25),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.15);
}

.home .quote {
  margin-top: 175px;
  padding-top: 75px;
  font-style: italic;
}

/*PORTFOLIO*/

.portfolio {
  background: url("https://farm2.staticflickr.com/1687/24799626561_fe42afc018_o.png") fixed; 
  background-repeat: repeat;
  height: 855px;
  color: #fff;
}

.portfolio h3 {
  font-size: 3em;
  letter-spacing: 1px;
  margin-top: 75px;
  padding-top: 50px;
}

.portfolio h4 {
  font-size: 1.1em;
}

.portfolio .project-name {
 color: #fff;
}

.portfolio .container {
  background: rgba(0,0,0,0.3);
  border-radius: 10px;  
  margin-top: 75px;
  padding: 50px 15px;
}

.portfolio .project-name:hover {
  color: #989898;
  text-decoration: none;
}

.portfolio .project-name:focus {
  text-decoration: none;
}

.portfolio img:hover {
  box-shadow: 10px 20px 10px #000;
  margin: -5px 0px 0px 0px;
}

/*ABOUT*/

.about {
  background: url("https://farm2.staticflickr.com/1494/24525256009_20af72d39b_o.png") fixed;
  background-repeat: repeat;
  color: #000;
  height: 855px;
}

.about .container {
  background: rgba(0,0,0,0.1);
  border-radius: 10px;
  margin-top: 150px;
  padding: 100px 100px;
}

.about img {
    margin-left: 25px;
}

.about h4 {
  font-size: 1.75em;
  }

.about p {
  font-size: 1.5em;
  margin-top: 25px;
  margin-right: 25px;
}

.about a {
  text-decoration: none; 
}

/*CONTACT*/

.contact {
  background: url("https://farm2.staticflickr.com/1596/24765526682_18757a8979_o.png") fixed;
  color: #fff;
  height: 855px;
}

.contact h1 {
  font-size: 5em;
  margin-top: 75px;
  padding-top: 25px;
}

.contact .container .row {
  margin-top:75px;
  padding-top: 75px;
}

/*FOOTER*/

#footer {
  background: url("https://farm2.staticflickr.com/1596/24765526682_18757a8979_o.png") fixed;
  background-repeat: repeat;
  color: #fff;
  min-height: 100px;
  text-align: center;
}

#footer a {
  text-decoration: none;
}

@media(max-width:991px) {
  .portfolio {
    height: 100%;
    width: 100%;
  }
  .about {
    font-size: 75%;
    height: 100%;
    width: 100%;
  }
}








              
            
!

JS

              
                
              
            
!
999px

Console