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

              
                <body>
 
  
  <div id="background-strip">
  <br>
    <a name="home"></a>
    <h1>Edd's Portfolio</h1>
  
 <div class="topnav" id="myTopnav">
  <a href="#home">Home</a>
  <a href="#about">About</a>
  <a href="#social">Social</a>
  <a href="#projects">Projects</a>
</div>
    <img class="img1" src="https://cdn.pixabay.com/photo/2015/08/13/01/00/keyboard-886462_960_720.jpg">
    <br>
    <br>
    <a name="about"></a>
    <H2> About </h2>
    <p>I don't currently work in web development or do any sort of coding at a professional level. At the moment it's more of a hobby but who knows where it may lead in the future. Who knows, I might actually turn out to be good at this stuff.</p>
    <p> In the past I used to love Myspace and Piczo, the latter of which was my pride and joy in my early/mid teens. This was where my interest in coding really began. Unfortunately growing up I never took any computer or IT related subjects at school which in hindsight I regret. I'm now trying to fix some of those mistakes though.</p>
    <p> I'm always on the lookout for ways to improve what I do here so if you have any tips, feedback on what you see or hints for how I can improve then please let me know. Similarly, if you like what you see and think I could help you with your developing needs then do let me know using the contact details below.</p>
     <div class="section-break"></div>
    <a name="social"></a>
    <!-- Social Media buttons -->
    <div class="container text-center">
  <div class="row">
    <div class="container"><div class="btn-group btn-group-md" role="group" aria-label="...">
          <a href="https://github.com/eddhodson" target="_blank"class="btn btn-default greybtn"><p><i class="fa fa-github" aria-hidden="true"></i> GitHub</p></a>
          <a href="https://twitter.com/tek_fish" target="_blank"class="btn btn-default greybtn"><p><i class="fa fa-twitter" aria-hidden="true"></i> Twitter</p></a>
          <a href="https://www.freecodecamp.com/eddhodson" target="_blank"class="btn btn-default greybtn"><p><i class="fa fa-free-code-camp" aria-hidden="true"></i> FreeCodeCamp</p></a>
       <a href="https://tekfish.wordpress.com/" target="_blank"class="btn btn-default greybtn"><p><i class="fa fa-wordpress" aria-hidden="true"></i> WordPress</p></a>
        </div>
      </center>
    </div>
  </div>
</div>
<br>
    <div class="section-break"></div>
  <br>
    <a name="projects"></a>
    <H2> My Projects </h2>
    <a href="https://codepen.io/Eddhodson/pen/PmBvrL"><img class="projects" src="http://ichef.bbci.co.uk/wwfeatures/live/624_351/images/live/p0/0v/2b/p00v2b0b.jpg"> Tribute Page</a>
  <img class="projects" src="https://cdn.pixabay.com/photo/2015/08/13/01/00/keyboard-886462_960_720.jpg"> Coming Soon
  <img class="projects" src="https://cdn.pixabay.com/photo/2015/08/13/01/00/keyboard-886462_960_720.jpg"> Coming Soon

    
    
    
    <br><br>
  
  </div>
  
  
  
  
  
  
  
  
  
  
</body>
              
            
!

CSS

              
                body {
    background-color: #aaa;
}

#background-strip {
  background-color: #fff;
  margin-left: 5%;
  margin-right: 5%;
  border-width: 0px 6px 0px 6px;
  border-color: #333;
  border-style: solid;
  
}

h1 {
  color: #333;
  text-align: center;
  font-family: Jaldi;
  margin: 0px 0px 20px 0px;
}

h2{
  font-family: Jaldi;
}

/* Navigation bar */
.topnav {
    background-color: #333;
    overflow: hidden;
    border-width: 2px 0px 2px 0px;
    border-color: #aaa;
    border-style: solid;
}

.topnav a {
    float: center;
    display: inline-block;
    color: #ffffff;
    text-align: center;
    padding: 10px 9%;
    margin: 0px 5px;
    text-decoration: none;
    font-size: 20px;
  font-family: Jaldi;
}

.topnav a:hover {
    background-color: #fff;
    color: #333;
}

.topnav a.active {
    background-color: #fff;
    color: #333;
}
/* End of navbar */

.img1 {
  width: 100%;
  max-height: 250px;
  overflow: hidden;
  border-width: 0px 0px 2px 0px;
  border-color: #aaa;
  border-style: solid;
}

p {
  padding: 5px 40px 5px 40px;
  text-align: justify;
  font-family: Jaldi;
  font-size: 18px;
}

.section-break {
  border-width: 0px 0px 2px 0px;
  border-color: #aaa;
  border-style: solid;
}


.btn {
  White-space: normal;
 }

.greybtn {
  color: #333;
  background-color: #aaa;
  border: #333;
  border-style: solid;
  border-width: 2px;
  font-size: 20px;
  font-family: Jaldi;
  white-space: pre-wrap;
  overflow: hidden;
}


.greybtn p {
font-size: 20px;
}

.projects{
  width: 200px;
  height: 150px;
  overflow: hidden;
  margin: 5% 2% 5% 2%;
  border-width: 2px 2px 2px 2px;
  border-color: #aaa;
  border-style: solid;
  display: inline;
  font-family: Jaldi;
  text-align: center;
  color: #333;
}

.projects a:hover {
    background-color: #fff;
    color: #333;
}

.projects a:active {
    background-color: #fff;
    color: #333;
}

              
            
!

JS

              
                
              
            
!
999px

Console