Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <!-- Main landing page -->

<section id="welcome-section">
  <div class="row">
    <ul id="navbar" class="col-12">
      <li class="navbar-links"><a href="#welcome-section">Home</a></li>
      <li class="navbar-links"><a href="#about">About Me</a></li>
      <li class="navbar-links"><a href="#skills">Skills</a></li>
      <li class="navbar-links"><a href="#portfolio">Portfolio</a></li>
      <li class="navbar-links"><a href="#social-media">Social Media</a></li>
    </ul>
  </div>
    <div id="menu-icon"> &#9776;</div>
    <aside id="sidenav">
      <a href="javascript:void(0)"><span id="close-icon">&times;</span></a>
      <a href="#welcome-section">Home</a>
      <a href="#about">About Me</a>
      <a href="#skills">Skills</a>
      <a href="#portfolio">Portfolio</a>
      <a href="#social-media">Social Media</a>
    </aside>
  
  <h1> Hi! I'm <mark>Bianca</mark>, an aspiring full stack web developer! </h1>
</section>

<!-- About Me -->

<section id="about">
  <h2> About Me </h2>
  <div class="row">
    <div class="col-1 col-m-1"></div>
    <p id="description" class="col-10 col-m-10"> Hey there! I'm <mark>Bianca Gonzalez</mark>, and I <u>love</u> solving problems! Right now I spend most of my free time teaching myself front-end web development (mainly HTML, CSS, and JavaScript), as well as Responsive Web Design. I also love music,
      movies, video games and photography!</p>
    <div class="col-1 col-m-1"></div>
  </div>
  <div class="row">
    <div class="col-2"></div>
    <div id="hobby-icons" class="col-8">
      <i class="fas fa-code fa-3x"></i>
      <i class="fas fa-headphones fa-3x"></i>
      <i class="fas fa-film fa-3x"></i>
      <i class="fas fa-gamepad fa-3x"></i>
      <i class="fas fa-camera fa-3x"></i>
    </div>
    <div class="col-2"></div>
  </div>
</section>

<!-- Skills -->

<section id="skills">
  <h2> Skills </h2>
  <div class="row">
    <div class="col-1"></div>
    <div id="lang-lib-container">
      <div class="col-5">
        <h3> Languages </h3>
        <div id="language-icons">
          <i id="html-icon" class="fab fa-html5 fa-3x"></i>
          <i id="css-icon" class="fab fa-css3-alt fa-3x"></i>
          <i id="js-icon" class="fab fa-js fa-3x"></i>
        </div>
      </div>
      <div class="col-5">
        <h3> Libraries </h3>
        <h4 class="library-text"> jQuery </h4>
      </div>
    </div>
    <div class="col-1"></div>
  </div>
</section>

<!-- Actual portfolio, projects -->

<section id="portfolio">
  <h2> Portfolio</h2>
  <div id="projects" class="row">
    <div class="col-12">
      <div class="project-tile">
        <div class="project-name"> Random Quote Generator </div>
        <a href="https://bfgonzalez.github.io/random-quote-generator/" target="_blank"><img src="https://s13.postimg.org/g3c6lgblj/Random_Quote.png" alt="Random Quote Generator"></a>
      </div>

      <div class="project-tile">
        <div class="project-name"> Local Weather App </div>
        <a href="https://bfgonzalez.github.io/local-weather-app/" target="_blank"><img src="https://s13.postimg.org/iyp9s9i5j/Local_Weather_App.png" alt="Local Weather App"></a>
      </div>

      <div class="project-tile">
        <div class="project-name"> Wikipedia Viewer </div>
        <a href="https://bfgonzalez.github.io/wikipedia-viewer/" target="_blank"><img src="https://s13.postimg.org/t4xvbjcx3/Wikipedia_Viewer.png" alt="Wikipedia Viewer"></a>
      </div>

      <div class="project-tile">
        <div class="project-name"> JavaScript Calculator </div>
        <a href="https://bfgonzalez.github.io/calculator/" target="_blank"><img src="https://s13.postimg.org/ql28hc26v/Calculator.png" alt="JavaScript Calculator"></a>
      </div>
    </div>
  </div>
</section>

<!-- Social Media -->

<footer id="social-media">
  <h2> Social Media </h2>

  <div class="row">
    <div class="col-4"></div>
    <div id="social-icons" class="col-4">
      <a href="https://github.com/bfgonzalez" target="_blank"><i class="fab fa-github-alt fa-3x"></i></a>
      <a href="https://www.linkedin.com/in/bfgonzalez/" target="_blank"><i class="fab fa-linkedin fa-3x"></i></a>
      <a href="https://www.instagram.com/biancapture" target="_blank"><i class="fab fa-instagram fa-3x"></i></a>
      <a href="https://www.freecodecamp.org/bfgonzalez" target="_blank"><i class="fab fa-free-code-camp fa-3x"></i></a>
    </div>
    <div class="col-4"></div>
  </div>
  <div class="row">
    <p id="copyright" class="col-12"> Made by Bianca Gonzalez &copy 2018 </p>
  </div>
</footer>
              
            
!

CSS

              
                body {
  font-family: "Questrial", sans-serif;
  text-align: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

/* welcome message */
h1 {
  font-size: 53px;
  color: #00bfa5;
  display: table-cell;
  vertical-align: middle;
}

/* section headers */
h2 {
  font-size: 50px;
  font-family: "Lobster", sans-serif;
  color: #00bfa5;
}

/* subheaders for "skills" section */
h3 {
  font-size: 40px;
  color: #8c9eff;
  margin-top: -2%;
}

#lang-lib-container {
  margin-top: -20%;
}

/* navbar */
ul {
  list-style-type: none;
  height: 2em;
  padding: 1%;
  background-color: #0e0e0e;
  margin: auto;
  position: fixed;
  display: none;
}

.navbar-links {
  color: white;
  display: none;
  margin-right: 1%;
  font-size: 1em;
  text-decoration: none;
}

#menu-icon {
  color: #00bfa5;
  font-size: 2.5em;
  cursor: pointer;
  position: fixed;
  top: 0;
  right: 2%;
}

#sidenav {
  height: 100vh;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: white;
  overflow-x: hidden; /* hides close-icon */
  transition: 0.5s;
  padding-top: 60px;
}

#sidenav a {
  display: block;
  padding: 6%;
  font-size: 1.1em;
  cursor: pointer;
  color: black;
}

#sidenav a:hover {
  color: #00bfa5;
}

#close-icon {
  position: absolute;
  top: 2%;
  right: 7%;
  font-size: 2em;
}

/* style for links */
a {
  text-decoration: none;
  color: white;
}

/* mouse over link */
a:hover {
  color: #ffd600;
}

/* selected link */
a:active {
  color: #ffd600;
}

/* main landing page */
#welcome-section {
  background-image: url("https://static.pexels.com/photos/234527/pexels-photo-234527.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.9;
  height: 100vh;
  display: table;
}

#about {
  background-color: white;
  padding: 2%;
  height: 100vh;
}

/* styling for description in "about" section*/
p {
  color: #00212e;
  font-size: 20px;
  text-align: left;
  margin-top: -20%;
  line-height: 1.5em;
}

#hobby-icons {
  color: #00212e;
  font-size: 10px;
  letter-spacing: 10px;
  margin-top: -25%;
}

#skills {
  background-color: #0e0e0e;
  padding: 2%;
  height: 100vh;
}

#language-icons {
  font-size: 15px;
  letter-spacing: 20px;
}

#html-icon {
  color: #f16529;
}

#css-icon {
  color: #379ad6;
}

#js-icon {
  color: #f0db4f;
}

.library-text {
  color: #bbdefb;
  font-family: "Roboto", sans-serif;
  font-size: 30px;
}

#portfolio {
  background-color: white;
  padding: 2%;
}

#projects {
  margin-top: -10%;
}

.project-tile {
  width: 280px;
  height: 230px;
  display: inline-block;
  margin: 1%;
}

.project-tile:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.project-name {
  margin: auto;
  font-size: 23px;
  color: #00212e;
  padding: 5px;
}

/* styling for thumbnails used in "portfolio" section */
img {
  width: 280px;
  height: 200px;
}

#social-media {
  background-color: #0e0e0e;
  padding-bottom: 1%;
}

#social-icons {
  font-size: 12px;
  letter-spacing: 8px;
  margin-top: -15%;
}

#copyright {
  text-align: center;
  color: white;
  font-size: 14px;
  margin-top: 0.5%;
  margin-bottom: 0.5%;
  padding-top: 1%;
}

/* media queries for responsive design */
* {
  box-sizing: border-box;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  padding: 15px;
}

/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}

@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-m-1 {
    width: 8.33%;
  }
  .col-m-2 {
    width: 16.66%;
  }
  .col-m-3 {
    width: 25%;
  }
  .col-m-4 {
    width: 33.33%;
  }
  .col-m-5 {
    width: 41.66%;
  }
  .col-m-6 {
    width: 50%;
  }
  .col-m-7 {
    width: 58.33%;
  }
  .col-m-8 {
    width: 66.66%;
  }
  .col-m-9 {
    width: 75%;
  }
  .col-m-10 {
    width: 83.33%;
  }
  .col-m-11 {
    width: 91.66%;
  }
  .col-m-12 {
    width: 100%;
  }
}
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {
    width: 8.33%;
  }
  .col-2 {
    width: 16.66%;
  }
  .col-3 {
    width: 25%;
  }
  .col-4 {
    width: 33.33%;
  }
  .col-5 {
    width: 41.66%;
  }
  .col-6 {
    width: 50%;
  }
  .col-7 {
    width: 58.33%;
  }
  .col-8 {
    width: 66.66%;
  }
  .col-9 {
    width: 75%;
  }
  .col-10 {
    width: 83.33%;
  }
  .col-11 {
    width: 91.66%;
  }
  .col-12 {
    width: 100%;
  }
}

@media only screen and (max-height: 479px) {
  #hobby-icons {
    display: none;
  }
}

@media only screen and (min-width: 375px) and (max-width: 425px) {
  #hobby-icons {
    margin-top: -15%;
  }
}

@media only screen and (min-width: 426px) and (max-width: 599px) {
  p {
    margin-top: -8%;
  }

  #hobby-icons {
    padding-top: 0;
    margin-top: -10%;
  }

  #lang-lib-container {
    margin-top: -10%;
  }

  #projects {
    margin-top: -8%;
  }

  #social-icons {
    margin-top: -12%;
  }
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
  
  h2 {
    font-size: 45px;
  }

  p {
    font-size: 25px;
    margin-top: -4%;
  }

  #hobby-icons {
    margin-top: -4%;
  }

  #lang-lib-container {
    margin-top: -5%;
  }

  #projects {
    margin-top: -6%;
  }

  #social-icons {
    margin-top: -10%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  ul {
    height: 3.5em;
    display: block;
  }

  .navbar-links {
    font-size: 25px;
    padding: 1.7%;
    display: inline;
  }

  #menu-icon,
  #sidenav {
    display: none;
  }

  h2 {
    padding-top: 1%;
  }

  p {
    font-size: 30px;
    margin-top: -2%;
  }

  #hobby-icons {
    font-size: 12px;
    margin-top: -2%;
  }

  h3 {
    font-size: 45px;
  }

  #lang-lib-container {
    margin-top: -1%;
  }

  #language-icons {
    font-size: 20px;
  }

  .library-text {
    font-size: 35px;
    margin-top: -1%;
  }

  #projects {
    margin-top: -4%;
  }

  #social-icons {
    margin-top: -3%;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1439px) {
  ul {
    height: 4em;
    display: block;
  }

  .navbar-links {
    font-size: 30px;
    padding: 1.8%;
    display: inline;
  }

  #menu-icon,
  #sidenav {
    display: none;
  }

  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 60px;
    padding-top: 1%;
  }

  h3 {
    font-size: 52px;
  }

  p {
    font-size: 35px;
    margin-top: -1%;
  }

  #hobby-icons {
    font-size: 15px;
    margin-top: -2%;
  }

  #lang-lib-container {
    margin-top: 0;
  }

  #language-icons {
    font-size: 25px;
  }

  .library-text {
    font-size: 45px;
    margin-top: 0;
  }

  #projects {
    margin-top: -2%;
  }

  #social-icons {
    margin-top: -2%;
    font-size: 15px;
  }
}

@media only screen and (min-width: 1440px) {
  h1 {
    font-size: 70px;
  }

  ul {
    height: 70px;
    display: block;
  }

  .navbar-links {
    font-size: 40px;
    padding: 1.7%;
    display: inline;
  }

  #menu-icon,
  #sidenav {
    display: none;
  }

  h2 {
    font-size: 70px;
  }

  p {
    font-size: 40px;
    margin-top: 0;
  }

  #hobby-icons {
    font-size: 20px;
    margin-top: 0;
  }

  #lang-lib-container {
    margin-top: 0;
  }

  h3 {
    font-size: 60px;
  }

  #language-icons {
    font-size: 35px;
  }

  .library-text {
    font-size: 55px;
  }

  #projects {
    margin-top: 0;
  }

  #social-icons {
    font-size: 20px;
    margin-top: 0;
  }
}

/* for landscape orientation */
@media only screen and (orientation: landscape) {
  #about,
  #skills {
    height: auto;
  }
}

              
            
!

JS

              
                $(document).ready(function() {
  
  $("a[href^='#']").on("click", function() {
    var the_id = $(this).attr("href");
  
      $("html, body").animate({
        scrollTop:$(the_id).offset().top
      }, "slow");

  return false;});
  
$("#menu-icon").on("click", function() {
  $("#sidenav").width("45vw");
});

$("#close-icon").on("click", function() {
  $("#sidenav").width(0);
});

$("a[href^='#']").on("click", function() {
  $("#sidenav").width(0);
});
  
}); 



              
            
!
999px

Console