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" dir="ltr">

<head>
  <meta charset="utf-8">
  <meta name="description" content="Personal Portfolio Project">
  <meta name="keywords" content="freecodecamp, portfolio">
  <meta name="author" content="Darshan Datta">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="./style.css" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Condensed" rel="stylesheet">
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">


  <title>Personal Portfolio Project</title>
</head>

<body class="container">
  <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
  <!-- Time to work on welcome page now that head part is done -->
  <section id="welcome-section">
    <!-- User story 2 -->
    <header>
      <nav id="navbar">
        <a class="links" href="#introduction">About me</a>
        <a class="links" href="#projects">My Projects</a>
        <a class="links" href="#footer">Contact Me</a>




      </nav>
      <h1>Welcome to my portfolio</h1>
    </header>
    <div id="introduction">
      <p>Hello, My name is Darshan Datta. </p>
      <p>I am learning web development from freecodecamp.I am currently working towards acquiring all of the FreeCodeCamps certificates.</p>
    </div>


  </section>

  <!-- User story 3 -->
  <section id="projects">
    <!-- User story 4 -->
    <h2>My Projects</h2>
    <section class="project-list">
      <div class="project-tile">
        <h3>Survey Form</h3>
        <a href="https://codepen.io/newbiewebdeveloperr/full/YBzRBg" target="_blank">

          <div class="image-div">
            <figure>
              <img src="http://imgs.fyi/img/775s.png" alt="">
              <figcaption>Survey form for chess club</figcaption>
            </figure>

          </div>
        </a>


      </div>
      <div class="project-tile">
        <h3>Tribute Page</h3>
        <a href="https://codepen.io/newbiewebdeveloperr/full/OrKWVV" target="_blank">
          <div class="image-div">
            <figure>
              <img src="http://imgs.fyi/img/775u.png" alt="">
              <figcaption>A tribute for George Orwell</figcaption>
            </figure>
          </div>
        </a>




      </div>
      <div class="project-tile">
        <h3>product Landing Page</h3>
        <a href="https://codepen.io/newbiewebdeveloperr/full/aXmZBR" target="_blank">
          <div class="image-div">
            <figure>
              <img src="http://imgs.fyi/img/76zw.png" alt="">
              <figcaption>A Product landing page for chess boards</figcaption>
            </figure>

          </div>
        </a>




      </div>
      <div class="project-tile">
        <h3>Technical Documentation Page</h3>
        <a href="https://codepen.io/newbiewebdeveloperr/full/GzrWQN" target="_blank">
          <div class="image-div">
            <figure>
              <img src="http://imgs.fyi/img/775w.png" alt="">
              <figcaption>Kubun installation Documentation</figcaption>
            </figure>
          </div>
        </a>
      </div>

    </section>




  </section>
  <footer id="footer">
    <p>Contact me:</p>
    <address>
      <a id="email" href="mailto:clashworld@protonmail.com" target="_blank"><i class="fas fa-envelope"></i>Email</a>
      <a id="twitter" href="https://twitter.com/confusedwd" target="_blank"><i class="fab fa-twitter"></i>Twitter</a>
      <a id="profile-link" href="https://github.com/confusedwdeveloper" target="_blank"><i class="fab fa-github"></i>GitHub</a>

    </address>

  </footer>

</body>

</html>
              
            
!

CSS

              
                .container {
  padding: 0;
  margin: 0;
  display: grid;
  font-family: 'Roboto Condensed', sans-serif;
}
#welcome-section {
  background: #03396c;
  height: 100vh;
  color: #fff;
}
#navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 8vh;
  background-color: #03396c;

}
#introduction {
  margin-top: 24vh;
line-height: 1.3;
font-size: 1.5rem;
  text-align: center;
  padding-left: 0.5em;
  padding-right: 0.5em
}
#introduction p:first-child {
  margin-bottom: 1.5em;
}
h1 {
  text-align: center;
  font-size: 2rem;
  font-family: 'Roboto', sans-serif;
  margin-top: 9vh;
}
.links {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
}
/* hovering tricks for welcome */
#navbar a:hover {
  background-color: #fff;
  color: #000;
}
/* time to work on second page. Let's start by making images responsive */
img {
  max-width: 100%;
  display: block;
  height: auto;
}
/* will need to do some modifications to figcaption  */
a {
  text-decoration: none;
}
figcaption {
  color: white;
  text-align: center;
}


#projects {
  background: linear-gradient(to bottom, #03396C 0%, #005B96 100%);
}
h2, h3 {
  color: white;
  text-align: center;


}
h2 {
  font-size: 1.7rem;
}
h3 {
  font-size: 1.5rem;
}
.img-div {
  padding: 1rem;
}
/* Hover time */
.project-tile {
  border: 1px solid white;
  border-radius: 5px;
  margin: 1rem auto;


}


img:hover {
  transform: scaleX(1.1);
}



/* flex time */
.project-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #005b96;

}
#footer {
  background-color: #b3cde0;
  color: #3e3e3e;
  text-align: center;
}
address a {
  color: #3e3e3e;
  margin-right: 1.5rem;
}
address {
  display: flex;
  justify-content: center;
}
#email:hover {
  color: rgb(255, 51, 92);
}
#twitter:hover {
  color: #63CAF6;

}
#profile-link:hover {
  color: #222;
}
/* ............................................................................................. */
/* media */
@media (min-width: 700px) {
  #introduction p:first-child {
    margin-right: 1em;
    border-right: medium solid white;
  }

  #introduction {
    display: inline-flex;
    justify-content: space-around;
    font-size: 2.3rem;
  }

  #introduction p:last-child {
    text-align: left;

  }
  h1 {
    font-size: 3rem;
  }
  .links {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.7rem;
  }
  figcaption {
    font-size: 1rem;
    text-align: center;
  }
  footer {
    font-size: 1.5rem;
  }
  /* going to make projects flex */
  .project-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(300px,1fr));
    grid-template-rows: 1fr 1fr;
    
  }

  .project-tile {
    border: none;
    
  }
  
  img {
    width: 30vw;
    
  }



}

              
            
!

JS

              
                
              
            
!
999px

Console