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

              
                <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<html>
 <head>
 <title>Portfolio Page</title>
 </head>
  <body>
     <header>
     <div class="heading">Personal Portfolio Project (&copy; Zoe Ali)
      <nav class="scrollmenu">
      <a href="#about">About</a>
      <a href="#portfolio">Portfolio</a>
      <a href="#contact">Contact</a> 
        </nav></div></header>
     <section class="about">
        <h1>Zoe(c)oding with {freeCodeCamp}</h1>
       <div id="intro-text"><p>A beginner at programming and coding. With the aim to become a front-end developer. Recently started a fullstack program with a major in javascript. Previous academic background in:      political science and sociology.</p>
       <p>Other interests include film, cinematography, music, & techno techno & some more techno.</p>
       </div></section>
<section class="portfolio">
   <h1>Portfolio slash Projects</h1>
   <img src="https://res.cloudinary.com/zoeyzali/image/upload/v1524582832/Ska%CC%88rmavbild_2018-04-24_kl._16.35.00.png" alt="tributepage" class="responsive">
   <h5><span>Valerie Solanas</span></h5>
      <p>a tribute page to feminism's one and only bad girl<< Valerie Solanas >>.</p>
    <img src="https://www.sydsvenskan.se/images/qSI1suKVYQmOXKR1VGbY9JOkPmE.jpeg" alt="ravescene" class="responsive">
   <h5><span>Malmö Underground Scene</span></h5>
      <p>scenes from Malmö biggest and <em>baddest</em> raves and underground parties.</p>
<img src="http://cdn-01.hymn.se/wp-content/uploads/2016/02/Jeff-Mills1-1050x700.jpg" alt="musicscene" class="responsive">
   <h5><span>Live Music</span></h5>
   <p>live gigs, djs & bands playing the venues.</p>
 </section>      
 <section class="contact">
     <div class="container">
        <h4><span>Contact Me</span></h4><a href="#" class="fa fa-facebook"></a>
      <a href="#" class="fa fa-instagram"></a>
      <a href="#" class="fa fa-twitter"></a>
      <a href="#" class="fa fa-linkedin"></a></div>
 </section>
 <footer>
      <p>Zoe's Portfolio Page, Copyright &copy; 2018</p>
</footer>    
</body>
</html>
              
            
!

CSS

              
                body{
   background-color: #FFF8F8;
   width: 100%;
}

.heading{
   family-font: Monospace;
   font-size: 28px;
   background-color: #F7E74A;
   color: white;
   padding: 45px 25px;
}

.scrollmenu {
  float: right;
   width: 100%;
}

.scrollmenu a {
    display: inline;
    color: white;
    padding: 10px;
    font-size: 20px;
    text-decoration: none;
}

a:hover {
   background-color: #02556D;
   padding: 6px;
   border-radius: 6px;
}

.responsive {
    width: 100%;
    height: auto;
}

.about {
   padding: 20px;
   min-height: 200px;
   color: dark;
}

h1{
   font-family: Verdana;
   font-size: 30px;
   padding: 10px;
   color: #02556D;
}

#intro-text{
  font-family: sans-serif;
  font-size: 16px;
  width: 50%;
  
}
.portfolio {
   min-height: 400px;
   padding: 10px; 
   font-family: monospace;
   font-size: 15px;

}

.portfolio img {
   display: inline-block;
   padding: 10px;
   border-radius: 30%;
   width: 300px;
   float: left;
} 

h5{
   font-size: 20px;
   font-family: monospace;
}

span{
     background-color: #09C6AB;
     padding: 5px;
     border-radius: 10px;
     color: white;
}

.contact {
   text-align: right;
   padding: 15px;
   margin-top: 10px;
   font-family: sans-serif;
}
.contact a{
   font-size: 25px;
   width: 28px;
   text-align: center;
}

footer p{
   text-align: center;
   font: 15px/0.6 sans-serif; 
}









  

              
            
!

JS

              
                
              
            
!
999px

Console