Pen Settings



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


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


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.


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.


                <div class="container">
  <nav id="navbar">
    <a class="links" href="#welcome-section">ABOUT</a>
    <a class="links" href="#projects">WORK</a>
    <a class="links" href="#contact">CONTACT</a>
  <section id="welcome-section">
    <h1>Welcome, I am Diki</h1>
    <p id="p1">I is lurnins</p>
  <section id="projects">
    <a href=""><img class="project-tile" id="work-img1" src="" alt="Doctor Borlaug doing field work"><p class="link-blocks">Tribute Page Project</p></img></a>
    <a href="#"><img class="project-tile" id="work-img2" src="" alt="random quote pic"><p class="link-blocks">TEST</p></img></a>
    <a href="#"><img class="project-tile" id="work-img3" src="" alt="rthe"><p class="link-blocks">TEST</p></img></a>
    <a href="#"><img class="project-tile" id="work-img4" src="" alt="rht"><p class="link-blocks">TEST</p></img></a>
    <a href="#"><img class="project-tile" id="work-img5" src="" alt="reth"><p class="link-blocks">TEST</p></img></a>
    <a href="#"><img class="project-tile" id="work-img6" src="" alt="rthr"><p class="link-blocks">TEST</p></img></a>
  <section id="contact">
      <a id="profile-link" href="" target="_blank">See All</a>
    <h4>Can anyone help me?.....</h4>
    <p id="contact-text">I'll buy you coffee</p>

    <footer id="footer">
      <div id="disclaimer">*None of this is real. I am in fact a shadowy supercoder</div>
      <div id="copyright">&copy;Copyright freakCodeCamp</div>



                .container {
  display: flex; 
  flex-direction: column;
  margin: 0px 0px 0px 0px;
  height: 100%;
  width: 100%;
#navbar {
  width: 98.6%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  background: #C9644F;
  height: 50px;
  position: fixed;
.links {
  margin-right: 40px;
  text-decoration: none;
  align-self: center;
  color: black; font-weight: bold; font-family: monospace; font-size: 20px;
#welcome-section {
  background: linear-gradient(90deg, #634A45, #090504, #874D40);
  width: auto;
  height: 100vh;  // calc(100vh - 50px) //height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;   // align-content: center;
h1 {  align-self: center;  font-family: "comic sans"; color: #D1BBB6; font-size: 50px;}
#p1 {  align-self: center;  font-family: audrey; color: #918A89; font-size: 35px;}
a { text-decoration: none; }
@media (min-width: 900px) {
  :root {
  --var-grid-template-columns: 1fr 1fr 1fr;
  --var-grid-template-rows: 1fr 1fr;
  --var-grid-gap: 40px;               //--var-height: 300vh;
#projects {
  background: #C1993F;  width: auto; 
  display: grid; 
  grid-template-columns: var(--var-grid-template-columns);  
  grid-template-rows: var(--var-grid-template-rows);
  justify-items: center;
  grid-gap: 40px;  
.project-tile {
  display: flex;
  justify-content: center;
  object-fit: cover;
  height: 70%;
  width: 300px;
  margin: 50px 30px 0px 30px; padding: 0px 0px 0px 0px; 
  background: blue;
.link-blocks {
  width: 300px;
  height: 30px;
  color: black;  text-align: center; 
  margin: 0px 30px 0px 30px; padding: 10px 0px 0px 0px;
  background: yellow;
.project-tile:hover { 
   box-shadow: 15px 15px 6px rgb(0 0 0 / 0.2);
.link-blocks:hover { 
   box-shadow: 10px -20px 6px rgb(0 0 0 / 0.2); 
  #contact {
  position: relative;
  height: 110vh;
  width: 100%; 
  background: linear-gradient(180deg, #C1993F, #181204);
#profile-link {  
  position: absolute;
  margin-top: 44px;  margin-left: 46%; 
  font-size: 30px;  text-decoration: none;  color: white;
  background-color: #199319;
  padding: 15px 25px;
h4 {  text-align: center; margin-top: 430px; font-size: 40px; } 
#contact-text {
  text-align: center; margin-top: 0px; font-size: 30px;
#footer {  
  display: flex;  flex-direction: row;
  position: absolute;
  height: 50px;  width: 100%; background: #181204; color: yellow;
  bottom: 0; padding: 25px 0px 0px 0px;
  border-top: solid; border-color: yellow;
#disclaimer {
  width: 50%;
  text-align: center;}
#copyright {
  width: 50%;
  text-align: center;}