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

              
                <html>

  <link 
    href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100&display=swap"           rel="stylesheet">
  </link>
  
<!-- start header and nav -->
<body>
 <section class="title">
   <header class="header">
     <a class="home" href="#welcome-section">Alex Marsh</a>
     <nav id="navbar" class="navbar"> 
      <ul>
       <li><a class="nav-link" href="#welcome-section">Home</a></li>
       <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>
 </header>   
</section>
 
<!-- end header and nav -->
 
<!--start welcome section -->
  
<section id="welcome-section" class="welcome">
  <h1 class="welcome-title">
    Hi, I'm <strong>Alex Marsh</strong>
  </h1>
    <p class="welcome-subtitle">Software Engineer</p>
    
  
</section> 
<!-- end welcome section-->
   
<!-- start about section-->
<section class="about-section" id="about">
  <h2 class="about-title">About Me</h2>
  <div class="about-section">
    
    <div class="about-column">
      <h3 class="about-topic">Design<h3>
      <p>To bring your users satisfaction in their online experience, I bring the utmost attention to detail when designing interfaces. By artfully using CSS and UI libraries like Bootstrap and React, your product will be clean and smooth to keep your users smiling.</p>
    </div> 
    
   <div class="about-column">
      <h3 class="about-topic">Develop<h3>
      <p>Developing well written and testable code allows for others to read and easily debug problems that can arise throughout development. By making this a priority, teammates and managers are able to find data flows with ease, and maintenance of applications becomes a much simpler process.</p>
    </div>
        
   <div class="about-column">
      <h3 class="about-topic">Learn<h3>
      <p>Software Development is a constantly changing environment where new technologies come as fast as they disappear. By staying current with best practices and being flexible to learning new technologies, I can provide better security for you users' information as well as keeping your application fresh and in-style.</p>
    </div>
        </div>    
</section>    
<!-- end about section-->
     
<!-- start projects section-->
     
<section id="projects" class="projects-section">
  <h2 class="projects-header">Projects</h2>
  
  <div class="projects-grid">
    
  <!-- project tile #1--> 
    <a 
      href="https://codepen.io/dogfunk_55/full/yLzJrxQ"
      target="_blank" 
      class="project project-tile">
    <img
      class="project-image"
      src="https://shots.codepen.io/dogfunk_55/pen/yLzJrxQ-512.jpg?version=1639519"
      alt="technical documentation project"/>
    <p class="project project-title">
      <span class="code">&lt;</span>
      Technical Documentation Page
      <span class="code">&#47;&gt;</span>
    </p>
   </a>
<!-- project tile #2-->    
  <a
    href="https://codepen.io/dogfunk_55/full/ExwVNOd"
    target="_blank"
    class="project project-tile">
  <img 
    class="project-image"
    src="https://shots.codepen.io/dogfunk_55/pen/ExwVNOd-512.jpg?version=1639523"
    alt="landing page project"/>
  <p class="project-title">
    <span class="code">&lt;</span>
    Landing Page
    <span class="code">&#47;&gt;</span>
  </p>  
 </a>
  
<!-- project tile #3-->  
 <a
    href="https://codepen.io/dogfunk_55/full/jOGbrzv"
    target="_blank"
    class="project project-tile">
 <img
    class="project-image"
    src="https://shots.codepen.io/dogfunk_55/pen/jOGbrzv-512.jpg?version=1639523"
    alt="survey form project"/>
 <p class="project-title">
    <span class="code">&lt;</span>
    Survey Form
   <span class="code">&#47;&gt;</span>
 </p>
</a>
  
<!-- project tile #4-->  
 <a
    href="https://codepen.io/dogfunk_55/full/vwxRMq"
    target="_blank"
    class="project project-tile">
 <img
    class="project-image"
    src="https://shots.codepen.io/dogfunk_55/pen/vwxRMq-512.jpg?version=1639524"
    alt="survey form project"/>
 <p class="project-title">
    <span class="code">&lt;</span>
    Survey Form
   <span class="code">&#47;&gt;</span>
 </p>
</a> 
    
  </div>
</section>       
<!-- end projects section-->     
  
<!-- start contact section-->
 <!-- icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">       
        
<section id="contact" class="contact-section">
  <div class="contact-header"> 
    <h2>Contact Me</h2
  </div>

     
  <div class="contact-links">
    <a id="profile-link"
       href="https://codepen.io/collection/vBKmOO"
       target="_blank"
       class="fa fa-codepen">
       <i class="codepen-icon"></i>Codepen</a>
       
    <a
       href="https://www.linkedin.com/in/alexmarsh55/"
       target="_blank"
       class="fa fa-linkedin">
       <i class="linkedin-icon"></i>Linkedin</a>
  
    <a
      id="email-link"
      href="mailto:alexjmarsh55@gmail.com" 
      class="fa fa-envelope">
      <i class="email-icon"></i>Email</a>
      
    <a 
      href="tel:503-936-4819"
      class="fa fa-phone">
      <i class="phone-icon"></i>Call Me</a>
   
  </div> 
</section>   
         
<!-- end contact section -->
     
 
    
</body>
        
</html>    


              
            
!

CSS

              
                /*custom properties/variable */
:root {
  --main-red: #FF5A5F;
  --main-blue: #00A699;
  --main-orange: #FC642D;
  --main-grey: #484848;
}

/*base reset = resents style of all html elements to a baseline value so that you avoid cross-brower differences due to their built-in default style settings. */
*,
*::before,
*::after{
  box-sizing: inherit;
}


* {
  margin: 0;
  padding: 0;
}

/* box-sizing and font sizing */


html {
  box-sizing: border-box;


/*set font size for easy rem calculations
/*default document font size = 16px, 1rem = 16px, 100% = 16px
/*(100% / 16px) * 10 =62.5%, 1rem = 10px, 62.5% =10px */

  font-size: 62.5%;
  scroll-behavior: smooth;
}

/* A few media query to set some font sizes at different screen sizes.
 * This helps automate a bit of responsiveness.
 * The trick is to use the rem unit for size values, margin and padding.
 * Because rem is relative to the document font size
 * when we scale up or down the font size on the document
 * it will affect all properties using rem units for the values.
*/

/* I am using the em unit for breakpoints
 * The calculation is the following
 * screen size divided by browser base font size
 * As an example: a breakpoint at 980px
 * 980px / 16px = 61.25em
*/

/* 1200px / 16px = 75em */
@media (max-width: 75em){
  html{
    font-size: 60%;
  }
}

/* 990px / 16px =61.25em */
@media (max-width: 61.25em) {
  html {
    font-size: 58%;
  }
}

/* 460px / 16px =28.75em */
@media (max-width: 28.75em) {
  html {
    font-size: 55%
  }
 
/* End sizing */

/*start style*/
  
  
}

body {
  font-family: 'Montserrat';
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.4;
  color: black;
}

/* header and navigation bar styling */

.header {
  position: fixed;
  padding: 20px 0px 0px 70px;
  width: 100%;
  height: 50px;
  display: flex;
  background-color: white;
  justify-content: flex-start;
}


.navbar {
  display: flex;
  width: 100%;
  padding: 20px 100px 0px 0px;
  justify-content: right;
  }  

#navbar {
  position: fixed;
  right: 0;
  top: 0;
}

ul {
  list-style-type: none; /*removes the bullets next nav bar links */
  overflow: hidden;
}

li {
  float: left;
}

li a {
  text-decoration: none; /*removes underline on navbar*/ 
  padding: 16px;
}

.nav-link {
  color: var(--main-red);
}

.nav-link:hover {
  opacity: 0.7;
}

.home {
  color: var(--main-red);
  text-decoration: none;
}

/* end header and nav styling */

/* welcome section styling */
#welcome-section {  
  text-align: center;
  height: 100vh;
  padding-top: 15%;
}

/*End welcome section styling */

/* Start about-section styling */

.about-section {
  box-sizing: border-box;
  height: 100vh;
  padding-top: 50px;
}

.about-title {
  text-align: center;
  padding: 0px 0px 50px 0x;
}

.about-column {
  float: left;
  width: 33.33%;
  padding-bottom: 100px;
}

.about-topic {
  text-align: center;
  padding-bottom: 15px;
  margin-top: 25px;
}

.about-column p {
  text-align: center;
  margin-left: 15%;
  margin-right: 15%;
}


/*End about section styling */

/* Start project section styling */

.projects-section {
  box-sizing: border-box;
  padding: 100px 0 0 0;
  text-align: center;
  backround: #00A699;
}

.projects-header {
  text-align: center;
  padding-bottom: 80px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  grid-gap: 4rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 6rem;
}
  
.project-image {
  height: auto;
  width: 400px;
}
  
.project-tile {
   box-shadow: 5px 5px 5px grey;
}
.code {
  color: var(--main-red);
  transition: color 0.3s ease-out;
}

project:hover .code {
  color: #ff7f50;
}
/*End project section styling */
  
/* Start contact section styling */

  .contact-section {
    display: flex;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 100px;
  }
  
  .contact-header {
    text-align: center;
  }

.contact-links {
  padding: 20px;
}

.fa {
  padding: 25px;
  text-decoration: none;
  color: var(--main-blue);
  
}
  
.fa:hover {
  opacity: 0.7;
}



/* --main-red: #FF5A5F;
  --main-blue: #00A699;
  --main-orange: #FC642D;
  --main-grey: #484848; */
  
              
            
!

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