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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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

              
                <link href="https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;700&display=swap" rel="stylesheet">

<header>
  <nav id="navbar">
    <ul>
      <li><a href="#welcome-section">About</a></li>
      <li><a href="#projects">Projects</a></li>
      <li><a href="#contact">Contact</a></li>
    </ul>
  </nav>
</header>
    <main>
        <section id="welcome-section">
            <h1>Kimberly Z</h1>
            <h2>Full-Stack Developer</h2>
            <p>Welcome to my portfolio.<br>
            Please have a look around this page or</p>
            <ul>
                <li><a class="pro-link" id="profile-link" target="_blank" href="https://github.com/Kimberly190">my GitHub profile</a></li>
                <li><a class="pro-link" target="_blank" href="https://stackoverflow.com/users/665376/kimberly?tab=profile">my Stack Overflow profile</a></li>
                <li><a class="pro-link" target="_blank" href="https://www.freecodecamp.org/kimberly190">my freeCodeCamp profile</a></li>
                <li><a class="pro-link" target="_blank" href="https://docs.microsoft.com/en-us/users/kimberlymzito-6597/">my Microsoft Learn profile</a></li>
                <li>
                    <span class="pro-link">
                    <a target="_blank" href="https://codepen.io/kimberly190">my CodePen</a> | 
                    <a target="_blank" href="https://stackblitz.com/@Kimberly190">my StackBlitz</a> | 
                    <a target="_blank" href="https://repl.it/@Kimberly190">my Repl.it</a>
                    </span>
                </li>
            </ul>
        </section>
        <section id="projects">
            <h2>Projects</h2>
            <div class="tile-grid">
                <div class="project-tile">
                    <h3>Trivial Bets (beta)</h3>
                    <p>Angular, ASP.NET Web API on Azure</p>
                    <a class="project-link" href="https://trivial-bets.stackblitz.io">
                        <img class="project-img" src="https://raw.githubusercontent.com/Kimberly190/hello-world/master/assets/trivial_bets_snapshot_v1.png">
                    </a>
                    <a class="source-link" href="https://github.com/Kimberly190/trivial-bets">source @ GitHub</a>
                </div>
                <div class="project-tile">
                    <h3>Product Page</h3>
                    <p>Responsive HTML, CSS</p>
                    <a class="project-link" href="https://codepen.io/kimberly190/full/oNbRvbb">
                        <img class="project-img" src="https://raw.githubusercontent.com/Kimberly190/hello-world/master/assets/product_page_snapshot.png">
                    </a>
                    <a class="source-link" href="https://codepen.io/kimberly190/pen/oNbRvbb">source @ CodePen</a>
                </div>
                <div class="project-tile">
                    <h3>Survey Page</h3>
                    <p>Responsive HTML, CSS</p>
                    <a class="project-link" href="https://codepen.io/kimberly190/full/xxZeWWW">
                        <img class="project-img" src="https://raw.githubusercontent.com/Kimberly190/hello-world/master/assets/survey_page_snapshot.png">
                    </a>
                    <a class="source-link" href="https://codepen.io/kimberly190/pen/xxZeWWW">source @ CodePen</a>
                </div>
                <div class="project-tile">
                    <h3>NZTM Geo Conversion</h3>
                    <p>JavaScript</p>
                    <a class="project-link" href="https://github.com/Kimberly190/nztm-geo-conversion-js">
                        <img class="project-img" src="https://raw.githubusercontent.com/Kimberly190/hello-world/master/assets/geo_conversion_snapshot.png">
                    </a>
                    <a class="source-link" href="https://github.com/Kimberly190/nztm-geo-conversion-js">source @ GitHub</a>
                </div>
                <div class="project-tile">
                    <h3>Dinner Spinner</h3>
                    <p>Angular, TypeScript, CSS</p>
                    <a class="project-link" href="https://dinner-spinner.stackblitz.io">
                        <img class="project-img" src="https://raw.githubusercontent.com/Kimberly190/hello-world/master/assets/dinner_spinner_snapshot.png">
                    </a>
                    <a class="source-link" href="https://stackblitz.com/edit/dinner-spinner">source @ StackBlitz</a>
                </div>
                <div class="project-tile">
                    <h3>Tribute Page</h3>
                    <p>Responsive HTML, CSS</p>
                    <a class="project-link" href="https://codepen.io/kimberly190/full/wvMZpNr">
                        <img class="project-img" src="https://raw.githubusercontent.com/Kimberly190/hello-world/master/assets/tribute_page_snapshot.png">
                    </a>
                    <a class="source-link" href="https://codepen.io/kimberly190/pen/wvMZpNr">source @ CodePen</a>
                </div>
                <div class="project-tile">
                    <h3>Tech Doc Page</h3>
                    <p>Responsive HTML, CSS</p>
                    <a class="project-link" href="https://codepen.io/kimberly190/full/qBbGdJq">
                        <img class="project-img" src="https://raw.githubusercontent.com/Kimberly190/hello-world/master/assets/tech_doc_page_snapshot.png">
                    </a>
                    <a class="source-link" href="https://codepen.io/kimberly190/pen/qBbGdJq">source @ CodePen</a>
                </div>
                <div class="project-tile">
                    <h3>Horse v. Python</h3>
                    <p>Python</p>
                    <a class="project-link" href="https://repl.it/@Kimberly190/horse-game-v2#main.py">
                        <img class="project-img" src="https://raw.githubusercontent.com/Kimberly190/hello-world/master/assets/horse_game_snapshot.png">
                    </a>
                    <a class="source-link" href="https://repl.it/@Kimberly190/horse-game-v2#main.py">source @ Repl.it</a>
                </div>
            </div>
        </section>
        <footer id="contact">
            <h2>Contact me</h2>
            <blockquote cite="https://codepen.io/kimberly190/full/oNbRpYm">
                <p>When you dine at the buffet of frameworks and packages, do you fill up your
                    plate with one of everything that looks good?  Or do you make yourself a
                    balanced and nutritious meal that your mother would be proud of?</p>
                <footer>—Kimberly Z, c. 2012</footer>
            </blockquote>
            <p>If you're the latter type of team, get in touch through <a href="https://stackoverflow.com/users/665376/kimberly?tab=profile">Stack Overflow Jobs</a>.
                Otherwise, check out these fake social media links:</p>
            <ul>
                <li><a href="https://www.facebook.com">Facebook</a> |</li>
                <li><a href="https://www.twitter.com">Twitter</a> |</li>
                <li><a href="https://www.reddit.com">Reddit</a></li>
            </ul>
        </footer>
    </main>
              
            
!

CSS

              
                /* purple theme */
/* :root {
    --theme-color-dark: #30203f;
    --theme-color-mid: #584469;
    --theme-color-comp: #778080;
    --theme-color-accent: #ddd1c5;
    --off-black: #0f0514;
} */

/* slate theme */
:root {
  --theme-color-dark: darkslategray;
  --theme-color-mid: #30203f;
  --theme-color-comp: slategray;
  --theme-color-accent: white;
  --off-black: #0f0514;
}

html {
  box-sizing: border-box;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  line-height: 1.5em;
  text-align: center;
  font-size: 16px;
}

@media (max-width: 550px) {
  html {
    font-size: 14px;
  }
}

/* box-sizing fix with inheritance | source: https://css-tricks.com/box-sizing/ */
*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 4rem;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
}

p {
  padding: 3vh 6vw;
}

a {
  color: inherit;
}

a:hover {
  color: var(--theme-color-comp, lightgray);
}

nav {
  background-color: var(--theme-color-mid, black);
  color: var(--theme-color-accent, white);
  display: flex;
  justify-content: flex-start;

  /* sticky nav */
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 3rem;
}

#welcome-section,
#projects,
#contact {
  /* for sticky nav */
  padding-top: 3rem;
}

nav li {
  display: inline-block;
  list-style-type: none;
  padding: 1rem;
}

nav li a {
  text-decoration: none;
}

#welcome-section,
#contact {
  height: 100vh;
  background: linear-gradient(
    0deg,
    var(--off-black, black),
    var(--theme-color-dark, darkslategray)
  );
  color: var(--theme-color-accent, white);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.pro-link {
  display: block;
}

#projects {
  background-color: var(--theme-color-comp, lightgray);
  color: var(--theme-color-dark, darkslategray);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.project-tile {
  background-color: var(--theme-color-dark, darkslategray);
  color: var(--theme-color-accent, white);
  padding: 3vh 4vw;
  margin: 3vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-tile p {
  font-size: 0.75rem;
  padding: 0;
  margin: 0.5em 0;
}

.project-img {
  min-width: 100px;
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 5px 15px var(--off-black, black);
}

.source-link {
  margin: 0.5rem;
}

blockquote {
  padding: 0 2rem;
  font-style: italic;
}

footer li {
  display: inline-block;
}

              
            
!

JS

              
                
              
            
!
999px

Console