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

              
                <!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">
  <title>CodePen - Isaac.prototype</title>
  <link rel="stylesheet" href="./style.css">

</head>
<body>
<!-- partial:index.partial.html -->
<link
  rel="stylesheet"
  href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
  integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay"
  crossorigin="anonymous"
/>
<link
  href="https://fonts.googleapis.com/css?family=Poppins:200i,300,400&display=swap"
  rel="stylesheet"
/>
<link
  href="https://fonts.googleapis.com/css?family=Raleway:700&display=swap"
  rel="stylesheet"
/>

  <!-- Head -->

<head>
  <title>Gardening and Landscaping by Isaac Goodings in Thornbury
  </title>
  <meta name="description"
        content="Gardening and landscaping business in Thornbury, Ontario and surrounding area.">
  <meta name="keywords" content="Gardening, Landscaping, Thornbury">
  <meta name="theme-color" content="#566639">
</head>

  <!-- Nav -->

<nav class="navbar">
  <ul class="nav-list">
    <li><a href="#services">Services</a></li>
    <li><a href="#gallery">Projects</a></li>
    <li><a href="#contactme">Contact</a></li>
  </ul>
</nav>

  <!-- Header -->

<section class="header">
  <div id="container">
  <h1> Isaac Goodings Inc. </h1>
  <p id="header-subtitle"> Giving your garden an edge </p>
  </div>
</section>

  <!-- Services -->
  <section class="services" id="services">
    <div>
      <h2>Services</h2>
    </div>
    
    <div class="services-list">
      <div id="service-one">
        <svg viewBox="0 0 384 512" width="90" title="tree">
  <path d="M378.31 378.49L298.42 288h30.63c9.01 0 16.98-5 20.78-13.06 3.8-8.04 2.55-17.26-3.28-24.05L268.42 160h28.89c9.1 0 17.3-5.35 20.86-13.61 3.52-8.13 1.86-17.59-4.24-24.08L203.66 4.83c-6.03-6.45-17.28-6.45-23.32 0L70.06 122.31c-6.1 6.49-7.75 15.95-4.24 24.08C69.38 154.65 77.59 160 86.69 160h28.89l-78.14 90.91c-5.81 6.78-7.06 15.99-3.27 24.04C37.97 283 45.93 288 54.95 288h30.63L5.69 378.49c-6 6.79-7.36 16.09-3.56 24.26 3.75 8.05 12 13.25 21.01 13.25H160v24.45l-30.29 48.4c-5.32 10.64 2.42 23.16 14.31 23.16h95.96c11.89 0 19.63-12.52 14.31-23.16L224 440.45V416h136.86c9.01 0 17.26-5.2 21.01-13.25 3.8-8.17 2.44-17.47-3.56-24.26z" />
</svg>
        <p>Service 1</p>
      </div>
      <div id="service-2">
        <svg id="service-2-icon" viewBox="0 0 512 512" width="100" title="sun">
  <path d="M256 160c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96zm246.4 80.5l-94.7-47.3 33.5-100.4c4.5-13.6-8.4-26.5-21.9-21.9l-100.4 33.5-47.4-94.8c-6.4-12.8-24.6-12.8-31 0l-47.3 94.7L92.7 70.8c-13.6-4.5-26.5 8.4-21.9 21.9l33.5 100.4-94.7 47.4c-12.8 6.4-12.8 24.6 0 31l94.7 47.3-33.5 100.5c-4.5 13.6 8.4 26.5 21.9 21.9l100.4-33.5 47.3 94.7c6.4 12.8 24.6 12.8 31 0l47.3-94.7 100.4 33.5c13.6 4.5 26.5-8.4 21.9-21.9l-33.5-100.4 94.7-47.3c13-6.5 13-24.7.2-31.1zm-155.9 106c-49.9 49.9-131.1 49.9-181 0-49.9-49.9-49.9-131.1 0-181 49.9-49.9 131.1-49.9 181 0 49.9 49.9 49.9 131.1 0 181z" />
</svg>
        <p>Service 2</p>
      </div>
      <div id="service-2">
        <svg viewBox="0 0 448 512" width="100" title="apple-alt">
  <path d="M350.85 129c25.97 4.67 47.27 18.67 63.92 42 14.65 20.67 24.64 46.67 29.96 78 4.67 28.67 4.32 57.33-1 86-7.99 47.33-23.97 87-47.94 119-28.64 38.67-64.59 58-107.87 58-10.66 0-22.3-3.33-34.96-10-8.66-5.33-18.31-8-28.97-8s-20.3 2.67-28.97 8c-12.66 6.67-24.3 10-34.96 10-43.28 0-79.23-19.33-107.87-58-23.97-32-39.95-71.67-47.94-119-5.32-28.67-5.67-57.33-1-86 5.32-31.33 15.31-57.33 29.96-78 16.65-23.33 37.95-37.33 63.92-42 15.98-2.67 37.95-.33 65.92 7 23.97 6.67 44.28 14.67 60.93 24 16.65-9.33 36.96-17.33 60.93-24 27.98-7.33 49.96-9.67 65.94-7zm-54.94-41c-9.32 8.67-21.65 15-36.96 19-10.66 3.33-22.3 5-34.96 5l-14.98-1c-1.33-9.33-1.33-20 0-32 2.67-24 10.32-42.33 22.97-55 9.32-8.67 21.65-15 36.96-19 10.66-3.33 22.3-5 34.96-5l14.98 1 1 15c0 12.67-1.67 24.33-4.99 35-3.99 15.33-10.31 27.67-18.98 37z" />
</svg>
        <p>Service 3</p>
      </div>
    </div>
      
  </section>
    

  <!-- Projects -->

<section class="gallery" id="gallery">
  <div>
    <h3>Projects</h3>
  </div>
  
  <div class="gallery-items">
  <div>
     <a href="https://cdn.britannica.com/42/91642-050-332E5C66/Keukenhof-Gardens-Lisse-Netherlands.jpg">
      <img src="https://cdn.britannica.com/42/91642-050-332E5C66/Keukenhof-Gardens-Lisse-Netherlands.jpg" alt="Test">
    </a>
  </div>
    
    <div>
      <a href="https://3m4r5618el913vtfz3jffby9-wpengine.netdna-ssl.com/wp-content/uploads/canadian-gardens-9.jpg">
        <img src="https://3m4r5618el913vtfz3jffby9-wpengine.netdna-ssl.com/wp-content/uploads/canadian-gardens-9.jpg" alt="Test">
      </a>
  </div>
  
  <div>
      <a href="https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/marqueyssac-royalty-free-image-1597862064.jpg?crop=0.664xw:1.00xh;0,0&resize=640:*">
        <img src="https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/marqueyssac-royalty-free-image-1597862064.jpg?crop=0.664xw:1.00xh;0,0&resize=640:*" alt="Test">
    </a>
  </div>
                                                  
      
</section>

  <!-- Contact section -->

<section class="contactme" id="contactme">
  <div class="contactme-title">
      <h4>Contact</h4>
  </div>
  
  <!-- Form -->
  
  <!-- Handmade prototype:
  
  <form id="contact-form" method="post" action="mailto:emailhere@email.com">
    <div class="name-group">
      <label id="name-label"
             for="name">Name</label>
      <input type="text"
             name="name"
             id="name"
             placeholder="Enter your name"required
             />
    </div>
    
    <div class="email-group">
      <label id="email-label"
             for="email">Email</label>
      <input type="email"
             name="email"
             id="email"
             placeholder="Enter your email"
             />
    </div>
    
    <div class="text-group">
      <p>Leave a message (optional)</p>
      <textarea
                id="message"
                name="message"
                class="input-textarea"
                placeholder="Leave a message (optional)"></textarea>      
    </div>
    

    <div>
      <button type="submit" id="submit" class="button">Submit</button>
    </div>
  </form> -->

  <!-- Jotform -->
  
    <div class="jotForm">
      <script type="text/javascript" src="https://form.jotform.com/jsform/212836948631060"></script>
    </div>
</section>
  
  <!-- Footer -->
  
<section class="footer">
  <div>
    <p>©2021 All Rights Reserved. Isaac Goodings Inc.</p>
  </div>
</section>
<!-- partial -->
  <script  src="./script.js"></script>

</body>
</html>

         
  


              
            
!

CSS

              
                html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  line-height: 2;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 5rem;
  font-weight: 400;
}

/* Nav */

.nav-list {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: -6rem;
  padding: 4rem;
  background: #566639;
  color: #fff;
  list-style: none;
  font-size: 5.5rem;
  text-shadow: .5px .5px #000;
}

.nav-list a {
  padding: 5.1rem 5rem 5.7rem 4rem;
  color: inherit;
  text-decoration: none;
}

.nav-list a:hover, a:active {
  border-radius: 2px;
  background: #B3D37A;
}

/* Header Section */

h1 {
  font-size: 8rem;
}

#header-subtitle {
  font-size: 3rem;
  font-weight: bold;
  margin: -8rem 0 0 0;
}

.header {
  padding: 50rem 5rem 5rem 5rem;
  background-image: url("https://static01.nyt.com/images/2020/07/19/realestate/08garden1/oakImage-1594058441789-superJumbo.jpg");
  min-height: 1150px;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #ccc;
  color: #374125;
  text-shadow: 1px 1px #000;
  text-align: center;
  font-weight: bold;
}

#container {
  padding: 0 0 0 0;
  margin: 20rem 2rem -5rem 2rem;
  max-width: 100%;
  border-radius: 5px;
  box-shadow: 2px 2px rgba(246, 250, 240, 0.5);
  background: rgba(246, 250, 240, 0.8);
}

/* Services Section */

.services {
  margin: -4.2rem 0 0 0;
  padding: 1rem 0 0 0;
  background: #B3D37A;
    color: #EDF5E0;
    background-image: linear-gradient(), url(https://image.freepik.com/free-photo/textured-background-white-tone_53876-128610.jpg);
        background-repeat: no-repeat;
    background-size: cover;
}

.services h2 {
  color: #374125;
  text-align: center;
}

.services-list {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  text-align: center;
}

.services svg {
  fill: #fff;
}

/* Projects Section */

.gallery {
  border-top: 1px solid #E8D7FF;
  background-image: linear-gradient(120deg, rgba(233, 210, 244, 0.2), rgba(233, 210, 244, 0.5)), url(Gallery-backgroundtexture.jpg);
}

.gallery h3 {
  color: #1D1E2C;
  font-size: 7rem;
  text-align: center;
}

.gallery-items {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  text-align: center;
}

.gallery img {
  width: 90%;
  height: auto;
  border-radius: 8px;
}

.desc {
  padding: 0 2rem 5rem 2rem;
  text-align: center;
}

/* Contact Section */

.contactme {
  background: #B3D37A;
}

.contactme-title {
  border-top: 1px solid #B3D37A;
  margin: 0 0 -13rem 0;
  color: #566639;
  font-size: 7rem;
  text-align: center;
}

/* Footer */

.footer {
  
  margin: -2rem 0 -3rem 0;
  bottom: 0;
  padding: 1rem 1rem rem 1rem;
  width: 100%;
  background: #566639;
  color: white;
  text-align: right;
  font-size: 1.25rem;
}

/* Media Queries */

@media only screen and (min-width: 600px) {
    .gallery img {
        width: 50%;
    }
}
@media only screen and (min-width: 900px) {
    .gallery img {
      width: 25%;
    }
}
@media only screen and (min-width: 1200px) {
    
}
@media only screen and (orientation: landscape) {
    
}

              
            
!

JS

              
                // Header text and box sticks to center of the background image, which does not reposition correctly for smaller screens. To fix, make image center correctly on smaller screens?
// Use responsive image gallery design to allow all Gallery images to show.

// Set all(?) px measurements to a relative size (rem or %)
// Contact icons(email, facebook etc.) if client is using other means
              
            
!
999px

Console