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

              
                <!--br is used as a line break in order to customize the way the text is presented-->
<!--below is the navigation bar, used to access other parts of the website-->
<!--by creating dead links (#) i could use the navigation bar as a list of links in my website, i just needed to use the element (id) in order to highlight them-->
<ul class="sidenav">
  <li><a href="#about">About</a></li>
  <li><a href="#portfolio">Portfolio</a></li>
  <li><a href="#contact">Contact</a></li>
</ul>
<!--I used margin-left to solve the problem with the navigation bar hiding the text-->
<div class="Alltext">
<div id="about" style="text-align:center" class="Heading">
  <h1>About Me</h1>
</div>
<div>
    <div style="text-align:center;">
  <a target="_blank" title="Find me on Facebook" href="https://www.facebook.com/aldair.carneiro"><img alt="follow me on facebook" src="//login.create.net/images/icons/user/facebook_30x30.png" border=0></a>
  <a target="_blank" title="follow me at freecodecamp" href="https://www.freecodecamp.com/en/ald1413"><img alt="follow me at freecodecamp" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/260521/profile/profile-512_2.jpg" border=0 width="30px" height="30px"></a>
  <a target="_blank" title="follow me on github" href="https://github.com/ald1413"><img alt="follow me on github" src="https://assets-cdn.github.com/images/modules/logos_page/GitHub-Mark.png" border=0 width="30px" height="30px"></a>
  </div>
    <p style:"Monospace" class="About">Coding enthusiast, eager to jump into the unknown and the creepy, more than willing to lose and learn than to win all the time, would rather sleep for very small amounts of time during the day than to sleep early, I mean who does anyway?</p>
</div>
<div id="portfolio" style="text-align:center" class="Heading">
  <h1>Portfolio</h1>
</div>
<div class="About">
<p>Currently nothing at the moment, but soon...  <img src="https://cdn.claytrader.com/wp-content/uploads/2016/02/SlowAndSteadyWinsTheRace.jpg" alt="Slow and steady wins the race" class="Img1"></img>
  <p>In the meantime, instead of linking projects, I will be showing some nice pictures I found online:</p>
<!--By creating a style class into the <a> element instead of the <img> element, i was able to get rid of the small blue line inbetween my pictures-->  
  <div style="row" align="center"> 
    <a href="#">
    <img src="https://s-media-cache-ak0.pinimg.com/564x/2e/b1/69/2eb1696861a9b1d839a2acdebdb93bb8.jpg" alt="golden retriever winking!" class="Img2"></img>
    </a>
  <a href="#">
 <img src="http://www.cutestpaw.com/wp-content/uploads/2011/11/cute-dog1.jpg" alt="white afro dogs" class="Img2"></img>
  </a>
<a href="#">
  <img src="http://cdn.skim.gs/images/c_fill,dpr_1.0,h_391,w_695/fajkx3pdvvt9ax6btssg/20-of-the-cutest-small-dog-breeds-on-the-planet" alt="windy dog" class="Img2"></img></a>
</div>
</div>
<div class="Heading" style="text-align:center">
  <h1>Contact Me</h1>
</div>
<div id="contact" class="About">
  <p>Here is where you drop your digits!</p>
  <form action="#submit-information">
  <input type="text" placeholder="*First Name"><br>
  <input type="text" placeholder="*Last Name"><br>
  <input type="email" placeholder="*E-mail"><br>
  <input type="tel" placeholder="Phone number"><br>
    <input class="Textmessage" type="text" placeholder="Your Message"><br>
  <button type="submit">Send</button>
  </form>
  <p style="font-size:11px;">Made by Aldair, thanks to lots of coffee</p>
</div>
</div>

              
            
!

CSS

              
                ul.sidenav:after{
  content:about;
  clear:both;
  display:block;
}
ul.sidenav{
  list-style-type:none;
  padding:0;
  margin:-20px !important;
  width:12%;
  background-color:#F0A08F;
  border:1px solid #6A2416;
  position:fixed;
  height:100%;
  overflow:none;
}
ul.sidenav li a{
  display:block;
  color:#AA2104;
  padding:9px 18px;
  text-decoration:none;
}
ul.sidenav li{
  text-align:center;
  border-bottom:1px solid #6A2416;
}
ul.sidenav li a:hover{
  background-color:#FF2D00;
  color:white;
}
ul.sidenav.Active{
  baackground-color:#641200;
}
}
.Heading{
  margin:5px -8px;
  background-color:green;
  padding:1em;
}
.About{
  margin:-8px -8px;
  border-bottom-style:solid;
  font-size:50px;
  padding:50px 30px 50px 80px;
}
.Img1{
  width:200px;
  height:100px;
  float:center;
}
input{
  background-color:#f0ffff;
  padding:10px;
  width:250px;
}
.Textmessage{
  width:50%;
  height:100px;
  box-sizing:border-box;
  border-radius:10px;
  padding-bottom:50px;
  resize:none;
  margin-top:25px;
}
.Alltext{
  margin-left:150px;
  background-color:#F5FFFA;
}
.Img2{
  width:150px;
  height:100px;
}
a{
  text-decoration:none;
}

              
            
!

JS

              
                
              
            
!
999px

Console