css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!-- to do: 
some content
make the buttons link to sections 
hovering button effect, active / inactive states?
embed something
pick and use a nice font
Maybe:
have a figure with figcaption
use form and fieldset to make a contact form-->
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<header> 
  <nav>
    <h1 class="text-primary">Sanne Jense</h1>
    <ul> <li class="label label-success menu-item"><a href = "#top">About Me</a></li> 
    <li class="label label-primary menu-item"><a href = "#mid">Projects</a></li> 
    <li class="label label-warning menu-item"><a href = "#low">Social Media</a></li></ul>
  </nav>
</header>

<main>
  <section id="About">
    <h1>Who is Sanne Jense?</h1>
    <p>Me, obviously. I made this site to show off my HTML5 & CSS3 skills. I also quite like writing, so I should write a nice story about myself here.</p>
    <div id="mid">x</div>
  </section>
  
  <section id="Projects">
    <h1>My other creations:</h1>
    <p> Will contain thumbnail-links to my other projects. </p>
    <div id="low">x</div>
  </section>
  
  <section id="SocialLinks"> <h1>More public information about me:</h1>
    <p>Will contain links to LinkedIn, GitHub, FCC, other Social Media. Can I make these embedded?</p> </section>
</main>
<footer> 
  Contact and copyright information. Use Details.
</footer>
            
          
!
            
              *{  box-sizing: border-box;
  font-family: Georgia;
}

body{
  background: #66CCFF;
}

/* Header, NAV and LINKS */

a {
  color: #FFF;
}

nav h1 {
  float: right;
  text-shadow: 1px 1px #527aee;
}

header {
  border: solid 3px #527a7a;
  border-radius: 10px;
  padding: 2%;
  position: fixed;
  top: 0;
  width: 95%;
  margin: 2.5%;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#b3dced+0,29b8e5+50,bce0ee+100;Blue+Pipe */
background: #b3dced; /* Old browsers */
background: -moz-linear-gradient(top, #b3dced 0%, #29b8e5 50%, #bce0ee 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #b3dced 0%,#29b8e5 50%,#bce0ee 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #b3dced 0%,#29b8e5 50%,#bce0ee 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3dced', endColorstr='#bce0ee',GradientType=0 ); /* IE6-9 */
}

.menu-item {
  display: inline-block;
 width: 200px;
  height: 40px;
  font-size: larger;
  text-align: center;
  line-height: 50px;
  height: 50px;
  margin-right: 5%;
}

/* The MAIN part */

section{
  padding: 2%;
  width: 95%;
  background-color: #AABBFF;
  color: #FFF;
  height: 100vh;
  border-radius: 10px;
  margin: auto;
  display: flex;
}


#About{
  margin-top: 16%;
  background-image: url("https://driftingintoouterspacee.files.wordpress.com/2013/01/p6250416.jpg?w=960");
  background-repeat: no-repeat;
  background-size: 100%;
}

#SocialLinks{
  background: url("http://orig11.deviantart.net/8170/f/2012/101/a/a/water_surface_1_by_sed_rah_stock-d4vs924.jpg");
    background-repeat: no-repeat;
  background-size: 100%;
  margin-top: 2%;
}

#Projects {
  background: url("http://pixelbrush.ru/uploads/posts/2013-08/1375920936_2-15.jpg");
    background-repeat: no-repeat;
  background-size: 100%;
  margin-top: 2%;
}

#mid, #end {
  align-items: flex-end;
/*  this div is needed to make the internal links work properly
 But why does this not work?? */
}

/* FOOTER  */

footer{
  font: 0.85em;
  color: #483D8B;
  margin: 10px;
  padding: 7px;
  background-color: #00CED1;
  border-radius: 5px;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console