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>
  <head>
    
  </head>
  <body>
    <section id="welcome-section">
      <h1 id="h1-0">Worst web developer at the highest price</h1>
      <p><i>(In case you would decide i'm worth paying at all...)</i></section>
      <section id="projects">
        <h1 id="h1-1">My text could be here..</h1>
        <div id="inside-projects">
        <div class="box">
        <img class="image" src="https://image.flaticon.com/icons/svg/1197/1197477.svg" alt="coding-monitor" height= 120px>
        <a class="project-tile" href="https://codepen.io/SimonasZ/pen/MZPPrY" target="_blank">First Project</a>
          </div>
        <div class="box">
        <img class="image" src="https://image.flaticon.com/icons/svg/1197/1197446.svg" alt="computer-monitor" height=120px>
        <a class="project-tile" href="https://codepen.io/SimonasZ/pen/wvabOXG?editors=1100" target="_blank">Second Project</a>
        </div>
        <div class="box">
        <img class="image" src="https://image.flaticon.com/icons/svg/1197/1197460.svg" alt="data-monitor" height=120px>
        <a class="project-tile" href="https://codepen.io/SimonasZ/pen/MWaKvgz" target="_blank">Third Project</a>
        </div>
        <div class="box">
        <img class="image" src="https://image.flaticon.com/icons/svg/1197/1197494.svg" alt="search-monitor" height=120px;>
        <a class="project-tile">Fourth Project</a>
        </div>
        </div>
      </section>
      <nav id="navbar">
        <a href="#welcome-section" class="nav-bar">About</a>
        <a href="#projects" class="nav-bar">Work</a>
        <a href="#contacts" class="nav-bar">Contact</a>
      </nav>
    <section id="contacts">
      <h1 id="h1-2">Will work for food</h1>
      <p><i>Hire me or listen to my music. You choose!</i></p>
      <div id="image-row">
        <a id="profile-link" href="https://github.com/Simenys" target="_blank">
          <img id="profile-link" src="https://upload.wikimedia.org/wikipedia/commons/9/91/Octicons-mark-github.svg" class="social-image" alt="github" height="50px" />
        </a>
      <a href="https://www.facebook.com/simonas.zilevicius" target="_blank">
      <img id="img1" src="https://image.flaticon.com/icons/svg/174/174848.svg" class="social-image" alt="facebook" height="50px" hspace="1000px" />
      </a>
      <a href="https://www.linkedin.com/in/simonas-%C5%BEilevi%C4%8Dius-61a006a9/" target="_blank">
      <img id="img2" src="https://image.flaticon.com/icons/svg/174/174857.svg" class="social-image" alt="linkedin" height="50px" hspace="50px" />
      </a>
      <a href="https://open.spotify.com/playlist/4tNbEMskE9GkuODQxnkgfl?si=cnyr1lYmR5-ZqhGMSGcP9g" target="_blank">
        <img id="img3" src="https://image.flaticon.com/icons/svg/174/174872.svg" class="social-image" alt="spotify" height="50px" hspace="50px" />
        </a>
      </div>
      <hr>
        <p id="footer-text"><i>All the projects and contact details are real</i><p>
        <p id="footer-text"><i>No Copyright at the moment</i></p>
      
    </section>
      
  </body>
</html>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
              
            
!

CSS

              
                * {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  height: 100%;
  margin: 0;
}
#navbar {
  display: flex;
  justify-content: flex-end;
  position: fixed;
  background: #F5B7B1;
  margin:0;
  top: 0;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-right: 25px;
}
.nav-bar {
  text-decoration: none;
  color: #34495E;
  font-family: Andale Mono,AndaleMono,monospace; 
  font-weight: bold;
  font-size: 25px;
  padding-right: 25px;
}
#welcome-section {
  background: #D6EAF8;
  height: 100vh;
}
#h1-0 {
  font-size: 5vh;
  color: #34495E;
  text-align: center;
  font-family: Andale Mono,AndaleMono,monospace; 
  padding-top: 400px;
}
p {
  padding-top: 10px;
  font-size: 2.5vh;
  color: #E74C3C;
  text-align: center;
  font-family: Andale Mono,AndaleMono,monospace; 
}
#projects {
  background: #34495E;
  height: 100vh;
}
#inside-projects {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.project-tile {
  font-family: Andale Mono,AndaleMono,monospace; 
  color: #34495E;
  font-size: 20px;
  background: #D6EAF8;
  margin-top: 30px;
  padding: 5px;
  text-align: center;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}
.image {
  background: #D6EAF8;
  padding: 10px;
  border: 3px solid #E74C3C;
  border-radius: 50%;
  border-width: 5px;
  margin: 20px;
  max-width: 120px;
  align-self: center;
}
.box {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-self: center;
  margin: 20px;
  border: 3px solid white;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
}
#h1-1 {
  color: #D6EAF8;
  text-align: center;
  font-family: Andale Mono,AndaleMono,monospace; 
  font-size: 4.7vh;
  padding-top: 230px;
  padding-bottom: 50px;
  text-decoration: underline #E74C3C;
}

#contacts {
  background: #D6EAF8;
  height: 100vh;
}
#h1-2 {
  font-size: 5vh;
  color: #34495E;
  text-align: center;
  font-family: Andale Mono,AndaleMono,monospace; 
  padding-top: 270px;
}
.social-image {
  background: white;
}
#image-row {
  display: block;
  /* display: flex; 
  flex-direction: row;
  justify-content: center; */
  margin: auto;
  align-content: center;
}
a {
  text-decoration: none;
}
#img3, #profile-link {
  border-radius: 50%
}
#img1 {
  border-radius: 5px;
}
#img2 {
  border-radius: 3px;
}
hr {
  border: 3px solid #F5B7B1;
}
@media (max-width: 600px) {
  .navbar {
    justify-content: center;
  }
}

              
            
!

JS

              
                
              
            
!
999px

Console