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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<!-- 
To Do:
- Media query x1
- Tweak navbar
- Better background image

-->

<body>
  <!-- Navigation -->
  <nav id="navbar">
    <ul>
      <li><a class="nav-link" href="#about">About</a></li>
      <li><a class="nav-link" href="#projects">Projects</a></li>
      <li><a class="nav-link" href="#contact">Contact</a></li>
    </ul>
  </nav>
  
  <!-- Welcome Section -->
  <section id="welcome-section">
    <h1>Holden Madagame</h1>
    <p id="title_caption">Personal Portfolio</p>
  </section>
  
  <!-- About Section -->
 <h2>About</h2>
  <section id="about">
    <!--Background image for more scrolling effect?
        A bit about me as a "designer"
        Hopes/dreams?-->
<img id="portrait" src="https://i.ibb.co/600ZQTy/CC2-A3170-copy.jpg" alt="Holden Madagame">
   <p>Hi, my name is Holden. I'm an opera singer, and developer in training.</p>
    <p>I'm currently learning HTML and CSS, as well as some basic programming theory.</p>
    <p>My professional goals are to replace my current freelance work with web development/programming work, and eventually donate my time to non-profit organizations with my new skills.</p>
    <p>My personal goals are to write my own visual novel, program my own point and click game, and make all my friends' personal websites.</p>
  </section>
  
  <!-- Projects -->
   <h2>Projects</h2>
  <section id="projects">
   
    <!-- Tribute Page -->
    <div class="project-tile">
      <a id="project-thumbnail-tribute" href="https://codepen.io/holdenmad/pen/XWJvmZW">
        <img class="project-thumbnail" src="https://i.ibb.co/4YDvRT5/Screenshot-2020-04-11-at-18-59-53.png"></a>
      <div class="project-title">Tribute Page</div>
    </div>
    
    <!-- Survey -->
    <div class="project-tile">
      <a href="https://codepen.io/holdenmad/details/JjdLdPO"><img class="project-thumbnail" src="https://i.ibb.co/Vtq4vKK/Screenshot-2020-04-11-at-19-00-05.png"></a>
      <div class="project-title">Survey</div>
    </div>
    
    <!-- Product Landing Page -->
    <div class="project-tile">
      <a href="https://codepen.io/holdenmad/details/zYGJOYV"><img class="project-thumbnail" src="https://i.ibb.co/p3T3ZtN/Screenshot-2020-04-11-at-19-00-25.png"></a>
      <div class="project-title">Product Landing Page</div>
    </div>
    
    <!-- Technical Documentation -->
    <div class="project-tile">
      <a href="https://codepen.io/holdenmad/pen/MWwNzBj"><img class="project-thumbnail" src="https://i.ibb.co/YDzVSqz/Screenshot-2020-04-11-at-19-00-35.png"></a>
      <div class="project-title">Technical Documentation</div>
    </div>
  
  <!-- Google Homepage -->
  <div class="project-tile">
    <a href="https://codepen.io/holdenmad/pen/vYOqqZQ"><img class="project-thumbnail" src="https://i.ibb.co/VCh4vNp/Screenshot-2020-04-15-at-14-23-18.png"></a>
    <div class="project-title">Google Homepage</div>
  </div>
    
  
  <!-- Hannah's Website -->
  <div class="project-tile">
    <a href="https://codepen.io/holdenmad/pen/qBOjgWP"><img class="project-thumbnail" src="https://i.ibb.co/qR3DVkj/Screenshot-2020-05-08-at-20-33-35.png"></a>
    <div class="project-title">Musician Website</div>
  </div>
    </section>
  
  <!-- Contact -->
  <section id="contact">
    <a href="mailto:holden.madagame@gmail.com"><img class="icon" alt="Email" src="https://i.ibb.co/z5Nz1Z2/img-262951.png"></a>
    <a id="profile-link" target="_blank" href="https://github.com/holdenmad"><img class="icon" alt="Github Logo" src="https://i.ibb.co/xS3239H/Git-Hub-Mark-120px-plus.png"></a>
    <a target="_blank" href="https://www.freecodecamp.org/holden.mad"><img class="icon" alt="FCC Logo" src="https://i.ibb.co/8swLwS1/freecodecamp-512.png"></a>
  </section>
  
</body>
              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css2?family=Abel&family=Montserrat&family=Roboto&display=swap");

/*
FONTS
font-family: 'Montserrat', sans-serif;
font-family: 'Abel', sans-serif;
font-family: 'Roboto', sans-serif;
*/

* {
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
}

h1 {
  font-family: "Abel", sans-serif;
  font-size: 80px;
  text-align: center;
  color: white;
  padding-top: 35vh;
}

h2 {
  font-family: "Abel", sans-serif;
  font-size: 50px;
  /* padding-left: 20%; --if left aligned */
  text-align: center;
  padding: 20px;
}

p {
  padding-bottom: 10px;
  padding-right: 20px;
  padding-left: 20px;
  font-size: 25px;
  
}

hr {
}

nav ul li {
  list-style-type: none;
  display: inline-block;
  padding-left: 20px;
  padding-right: 20px;
}

nav {
  z-index: 1;
  background: black;
  position: fixed;
  width: 100%;
  top: 0;
  padding: 20px;
  font-size: 18px;
}

a {
  color: grey;
}

a img {
  color: black;
}

a:hover {
  color: white;
  transition: 0.4s;
}

a:hover img {
  color: white;
  opacity: .5;
  transition: .2s;
}

.project-tile {
  position: relative;
  text-align: center;
  color: black;
}

.project-thumbnail {
  width: 400px;
  border-radius: 80px;
  border-style: solid;
  border-color: black;
}
/*
#project-thumbnail-tribute {
  width: 400px;
  border-radius: 80px;
  background-image: ;
}

#project-thumbnail-survey {
  width: 400px;
  border-radius: 80px;
}

#project-thumbnail-landing {
  width: 400px;
  border-radius: 80px;
}

#project-thumbnail-techdoc {
  width: 400px;
  border-radius: 80px;
  background-image: url(https://codepen.io/holdenmad/pen/MWwNzBj);
}
*/
.project-title {
  position: relative;
  font-size: 20px;
  padding-bottom: 30px;
  
}

#projects {
  display: grid;
  grid-template-columns: auto auto;
}

section {
}

#about {
  height: 100%;
}

#navbar {
}

#title_caption {
  font-family: "Abel", sans-serif;
  text-align: center;
  font-size: 50px;
  color: white;
}

#profile-link {
  
}

#portrait {
  display: grid;
  height: 300px;
  margin-left: 30px;
  margin-right: 20px;
  float: left;
}

#contact {
  background: white;
}

.nav-link {
  text-decoration: none;
}

#welcome-section {
  height: 100vh;
  /*   padding: 0;
  margin: 0; */
  background-image: url("https://i.ibb.co/mbWMcyy/footer-banner-bw.jpg");
/* Parallax Effect */
  background-attachment: fixed;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.icon {
  height: 60px;
  width: 60px;
  padding: 10px;
}

/* At 800px wide: 
- make thumbnails vertically align in grid (rather than in 2 columns)*/


@media screen and (max-width: 800px) {
  h1 {
    font-size: 40px;
  }
  h2 {
    20px;
  }
  .project-thumbnail {
    width: 200px;
  }
  #title_caption {
    font-size: 20px;
  }
}

              
            
!

JS

              
                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!
    ************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

              
            
!
999px

Console