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

              
                <html lang="pl">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
  
  </head>
  
  <body id="body">
   <header class="navbar fixed-top navbar-light bg-faded">
   <div class="container">
    <nav class="navbar navbar-toggleable-md ">
  <button class="navbar-toggler  navbar-toggler-right" type="button" data-toggle="collapse" data-target="#mainNavigation" aria-controls="mainNavigation" aria-expanded="false" aria-label="Pokaż lub ukryj nawigację">
	<span class="navbar-toggler-icon"></span>
  </button>
      <a class="navbar-brand text-white" href="#">
	<img src="https://s3.amazonaws.com/launchkey-resources/logo/logo/launchkey-logos_launchkey-icon-white.png" width="35" height="35" class="d-inline-block align-top " alt="go to web.com">
	web.com</a>
      <div class="collapse navbar-collapse" id="mainNavigation">
	<ul class="navbar-nav mr-auto">
		<li class="nav-item active ">
			<a class="nav-link text-white" href="#">About Me <span class="sr-only">(You are here)</span></a>
		</li>
		<li class="nav-item">
			<a class="nav-link text-white" href="#">Portfolio</button></a>
		</li>
		<li class="nav-item">
			<a class="nav-link text-white" href="#">Contact</a>
		</li>
	</ul>
</div>
</nav>
</div>
</header>
    <!-- Starts content -->
 <main class="container-fluid" id="content">
   <header id="mainheader">
   <div class="intro-text">
     <p>I'm learning coding with FreeCampCode. I have a passion for web design. I like to keep it simple. In the near future Front-End Developer and UX/UI designer.</p>
   
   </div>
   <img src="https://static.pexels.com/photos/5108/fashion-man-person-winter.jpeg" alt="my photo" id="myphoto">
   </header>   
 </main>
    
    
    <script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
  </body>
</html>
              
            
!

CSS

              
                
#body { 
  background-color: #eeeeee;
  margin:0;
  padding:0;
  
}


.bg-faded {
  background-color: #292b2c!important;
}

.navbar-nav > li > a {
  text-align: center;
}


main {
  max-width: 1080px;
  margin: auto;
  padding: 100px;
     
  }

#mainheader {
   align-items: flex;
   background-color: #dcdcdc;
}

.intro-text {
  padding-top:30px;
  text-align: Right;
  width: 610px;
  margin-bottom:30px;
}
#myphoto {
  width: 300px;
  border-radius: 5%;
  
}

              
            
!

JS

              
                
              
            
!
999px

Console