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

              
                <!DOCTYPE html>
<html lang="en">
<head>
	<title>Moshe Chima</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta charset="UTF-8">
	<link rel="stylesheet" type="text/css" href="css/mystyles.css">
</head>

<body>
<nav>
  <ul id='navbar'>
    <li><a href="#welcome-section">About</a></li>
    <li><a href="#projects">Work</a></li>
    <li><a href="#contact">Contact</a></li>
  </ul>
</nav>

<div id="welcome-section" class="intro">

  <h1>Hi welcome,<br /> I'am MOSHE CHIMA</h1>
  <p>I'm a web developer, content manager, a friend,<br/> Entertainment manager...and other things I cannot remember...lol</p>
</div>
<div id="projects" class="work">
  <h2 class="work-header">Here are some of my projects..</h2>
  <a href="https://codepen.io/MOSHE38/pen/EGOBaZ" target="_blank" class="project project-tile">
    <img class="project-pic" src="https://res.cloudinary.com/moshe38/image/upload/v1554476965/Capture-1.png" alt="project">
    <div class="project-title">Tribute Page</div>
  </a>
  <a href="https://codepen.io/MOSHE38/pen/jdroxq" target="_blank" class="project project-tile">
    <img class="project-pic" src="https://res.cloudinary.com/moshe38/image/upload/v1554477039/Capture-4.png" alt="project">
    <div class="project-title">Survey Form</div>
  </a>
  <a href="https://codepen.io/FreeCodeCamp/pen/PNKdjo" target="_blank" class="project project-tile">
    <img class="project-pic" src="https://res.cloudinary.com/moshe38/image/upload/v1554477071/Capture-3.png" alt="project">
    <div class="project-title">Product Landing Page</div>
  </a>
  <a href="https://codepen.io/FreeCodeCamp/pen/mVEJag" target="_blank" class="project project-tile">
    <img class="project-pic" src="https://res.cloudinary.com/moshe38/image/upload/v1554477093/Capture-2.png" alt="project">
    <div class="project-title">Documentation Page</div>
  </a>

  <a href="https://codepen.io/MOSHE38/" class="show-all" target="_blank">Show all</a>
</div>
<div id="contact" class="contact">
  <div class="header">
    <h2>I will be so glad to work with you...</h2>
    <p></p>
  </div>
  <a href="https://web.facebook.com/nnadoziec" target="_blank" class="contact-details">Facebook</a>
  <a id='profile-link' href="#" target="_blank" class="contact-details">GitHub</a>
  <a href="#" target="_blank" class="contact-details">Twitter</a>
  <a href= "#" class="contact-details">Send a mail</a>
  <a href="#" class="contact-details">Call me</a>
</div>
<footer>** Designed by MOSHE **
  <p>&copy; Copyright 2019</p>
</footer>
</body>
</html>
              
            
!

CSS

              
                * {
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  background-color: #c39eao;
}

nav ul {
  text-align: right;
  position: fixed;
  width: 100%;
  background-color: orangered;
}

nav ul li {
  display: inline-block;
  margin: 20px;
  margin-bottom: 15px;
  margin-top: 25px;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

nav ul li a:hover {
  color: black;
}

.intro {
  top: 0;
  background-image: url(https://res.cloudinary.com/moshe38/image/upload/v1554543001/homebg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 55vh;
  padding-top: 45vh;
}

h1{
	font-family: roboto slab;
	color: orangered ;
	font-size: 50px;
	text-align: left;
	margin-left: 70px;
	margin-top: -60px;
}

.intro p {
  color:  #fa255e;
  text-align: left;
  margin-left: 75px;
  font-size: 20px;
}

.work {
  padding-top: 60px; 
}

.work .work-header {
  margin-top: 50px;
  color: #008080;
  font-weight: normal;
}

.project {
  text-decoration: none;
  color: #008080;
  display: inline-block;
  overflow: hidden;
  border: 4px solid lightblue;
  border-radius: 5px;
  height: 220px;
  width: 280px;
  margin: 40px 100px;
}

.project-pic {
  width: 100%;
  height: 180px;
  border-bottom: 2px solid lightblue;
}

.project-title {
  font-weight: bold;
}

.project:hover {
	color: black;
	background: orangered;
	left: 5%;
	transform: scale(1.05);
	transition: all .2s ease-in-out;
}

.show-all {
  text-decoration: none;
  display: block;
  width: 200px;
  height: 30px;
  margin: 20px auto 90px;
   background: #e0ebe8;
  color: #008080;
  font-weight: bold;
  font-size: 1em;
  border: 2px solid #90C695;
  border-radius: 4px;
  cursor: pointer;
  padding-top:10px;
}

.show-all:hover {
  background: orangered;
  color: black;
  left: 5%;
	transform: scale(1.05);
	transition: all .2s ease-in-out;
}

.contact{
  background: #f8e5e5;
}

.contact-details {
  display: inline-block;
  font-weight: bold;
  margin: 0 35px 45px 35px;
  list-style-type: none;
  border: 2px solid #90C695;
  border-radius: 100%;
  width: 100px;
  height: 100px;
  line-height: 100px;
  background: #e0ebe8;
  color: #008080;
  text-decoration: none;
}

.contact-details:hover {
  background: orangered;
  color: black;
   left: 5%;
	transform: scale(1.08);
	transition: all .2s ease-in-out;
}

@media only screen and (max-width: 500px) {
  nav ul {
    text-align: center;
  }
  nav ul li {
    margin: 20px;
  }
  .project {
    margin: 40px 0;
  }
}

.header {
  padding: 160px 0 110px;
}

footer {
  padding: 20px;
  background: orangered;
  color: white;
  line-height: 40px;
}

@media only screen and (max-width: 367px) {
  
  .contact-details {
    border: 2px solid #90C695;
    border-radius: 0;
    width: 90px;
    height: 20px;
    padding: 10px;
    line-height: normal;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console