cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

            
              <div id=headline><header><h1>The One Day Landing Page</h1><p></header><div id=blurb><p>Download my CV <a href="https://drive.google.com/open?id=1k4duah0UnMqdUOUNr8cSSLMaCmICYdc2kYBAQuaAioE">Resume J Rohatiner</a></div><form method=post id=register><form method=post id=register><h2>Sign Up</h2><label for=name>Name</label><input name=name id=name placeholder="She Code The Web" required><label for=email>Email address</label><input type=email name=email id=email placeholder=judithrohatiner@gmail.com required><label for=tel>Telephone</label><input type=tel name=tel id=tel placeholder="(786) 587-8284" required> <input type=submit value=submit></form></form></div><div id=section1><div id=blurb-two></div><h2>This landing page is also a progressive web app</h2><p>Why is that important?</p><li>From a browser it will use the native environment of the device it is viewed on</li><ul><li>the camera<li>messaging<li>audio<li>photos</ul><li>It can be viewed on phones, tablets and desktops<li>It was made with code you can count on <a href=https://www.linkedin.com/in/shecodetheweb>by an experienced developer (JR Rohatiner)</a></li><br><div id=section2><h2></h2><p><div id=images><img src= "https://s3-us-west-2.amazonaws.com/s.cdpn.io/460875/front2.jpg" alt=""> <img src= "https://s3-us-west-2.amazonaws.com/s.cdpn.io/460875/front1.jpg" alt=""> <img src=https://s3-us-west-2.amazonaws.com/s.cdpn.io/460875/front3.jpg alt=""></div></div></div><div id=section3><h2>Why you are looking at this app today?</h2><p>Do you need a front end web developer in your organization? A speaker at your school? A volunteer to help your group? It would be my pleasure to be of service to my community in some way.<ul><li>I update and re-program computers for accessibility purposes for senior centers<li>I demonstrate programming skills as a volunteer in Public Schools<li>I mentor undergraduates engineers in the Society of Women Engineers</ul><p>I would like to do more!<table><caption><p>Visitor Data <a href=http://gs.statcounter.com/#desktop+mobile+tablet-comparison-ww-monthly-201303-201403>And Devices Used</a><thead><tr><th>City<th>Desktop visits<th>Tablet visits<th>Mobile visits</thead><col span=1><col span=1><col span=1><col span=1><tr><td><a href=http://gs.statcounter.com/#desktop+mobile+tablet-comparison-PaloAlto-monthly-201303-201403>Palo Alto</a><td>32%<td>1%<td>67%<tr><td><a href=http://gs.statcounter.com/#desktop+mobile+tablet-comparison-Redmond-monthly-201303-201403>Redmond</a><td>69%<td>13%<td>18%<tr><td><a href=http://gs.statcounter.com/#desktop+mobile+tablet-comparison-NewYork-monthly-201303-201403>New York</a><td>69%<td>9%<td>22%<tr><td><a href=http://gs.statcounter.com/#desktop+mobile+tablet-comparison-Miami-monthly-201303-201403>Miami</a><td>86%<td>4%<td>10%</table><br></div><footer><p>You can hire me <phone>786-587-8284</phone></footer>
            
          
!
            
              html,{
  font-family: 'Roboto', 'Helvetica', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
}

#headline {
  padding: 0.8em;
  color: white;
  font-family: Roboto, helvetica, arial, sans-serif;
  background-color: black;
  background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/460875/hero.jpg');
  background-size: cover;
}
a {
  color: #39b1a4;
}
a:hover a:focus{
  color: hsl(8, 70%, 54%);
}
:focus{
  color: hsl(8, 70%, 54%);
}
#headline h1 {
  font-weight: 200;
  font-size: 60px;
  line-height: 1em;
  margin-bottom: 0;
  text-transform: uppercase;
  text-shadow: 1px 1px #cfcecd;
}

#headline h2 {
  font-weight: 200;
  font-size: 30px;
  margin-top: 5px;
  text-transform: uppercase;
  text-shadow: 1px 1px #cfcecd;
}

#headline #blurb {
  font-weight: 300;
  font-size: 18px;
  text-transform: uppercase;
  color: hsl(8, 70%, 54%);
  margin-top: 10px;

}
#blurb-two{
  max-width: 40%;
}

#headline #register {
  background-color: #39b1a4;
  background-color: rgba(57,177, 164, 0.7);
  padding: 1em;
}

#headline #register h2 {
  font-weight: 100;
  padding: 0;
  margin: 0;
}

#headline #register label {
  font-size: 1.2em;
  font-weight: 200;
  padding-top: 12px;
  display: block;
}

#headline #register input {
  width: 100%;
  font-size: 18px;
  font-weight: 200;
  padding: 10px;
  box-sizing: border-box;
}

#headline #register input[type=submit] {
  background-color: hsl(8, 70%, 54%);
  color: white;
  margin-top: 20px;
  padding: 10px;
  border: none;
  box-sizing: border-box;
  font-size: 18px;
}

#section1, #section2, #section3 {
  box-sizing: border-box;
  padding: 20px;
}

#section1 h2, #section2 h2, #section3 h2  {
  margin-top: 0;
  font-size: 24px
  text-transform:uppercase;
}

#section1 {
  background-color: white;
  font-family: Roboto, sans-serif;
  font-weight: 100;
  font-size: 18px;
}

#section1 h2 {
  font-weight: 300;
  text-align: center;
  margin-bottom: 0px;
  margin-top: 20px;
}

#section1 h2 + p {
}

#section1 video {
  width: 100%;
}

#section2 {
  background-color: #e9e9e9;
  font-family: Roboto, sans-serif;
  font-weight: 100;
  font-size: 18px;
}

#section2 h2 {
  font-weight: 300;
  text-align: center;
  margin-bottom: 0px;
  margin-top: 20px;
  text-transform: uppercase;
}

#section2 h2 + p {
  text-align: center;
}

#section2 div {
  text-align: center;
}

#section2 div img {
  width: 100%;
  border-radius: 50% 50%;
  box-shadow: black 1px 1px 5px;
}

#section3 {
  background-color: #f5f5f5;
  font-family: Roboto, sans-serif;
  font-weight: 100;
  text-align: center;
  margin: auto;
}

#section3 h2 {
  font-weight: 300;
  text-align: center;
  margin-bottom: 0px;
  margin-top: 20px;
  text-transform: uppercase;
}

#section3 h2 + p {
  text-align: center;
  text-transform: uppercase;
}

#section3 figure {
  text-align: center;
}

#section3 figure figcaption {
  text-align: center;
  font-weight: 400;
}
li {
  list-style-type: none;
  line-height: 25px;
}

footer {
  font-family: Roboto, sans-serif;
  font-weight: 300;
  text-align: center;
  background-color: hsl(8, 70%, 54%);
  color: white;
  padding-bottom: 20px;
  padding-top: 20px;
  margin: 0 auto!important;

}

table {
  margin-top: 26px;
  width: 100%;
}
thead {
  font-weight: bold;
}

tbody {
  text-align: center;
}
form#register {
  border-top: 2px solid #cfcecd;
  border-left: 2px solid #cfcecd;
  border-right: 3px solid #cfcecd;
  box-shadow: 1px 1px 2px 1px#cfcecd;
  border-radius: 1px;
}

/* // [START table-css] */
@media screen and (max-width: 600px) {
  table thead {
    display: none;
  }

  table td {
    display: block;
    position: relative;
    padding-left: 50%;
    padding-top: 13px;
    padding-bottom: 13px;
    text-align: left;
    background: #e9e9e9;
    text-align: left;
  }

  table td:before {
    content: attr(data-th) " :";
    display: inline-block;
    color: #000000;
    background: #e9e9e9;
    border-right: 2px solid transparent;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 33%;
    max-height: 100%;

    font-size: 16px;
    font-weight: 300;
    padding-left: 13px;
    padding-top: 13px;
  }
}
/* // [END table-css] */

@media screen and (min-width: 600px) {
  #headline {
    padding: 20px 5%;
  }

  .container {
    margin: auto;
    max-width: 800px;
  }

  #headline #blurb {
    float: left;
    font-weight: 200;
    width: 50%;
    font-size: 18px;
    box-sizing: border-box;
    padding-right: 10px;
  }
  #blurb-two{
    max-width: 40%;
  }
  footer{
    margin: 0 auto!important;
    text-align: center!important;
  }
  /*
  div#section1 div#section2 div#section3{
    text-align: left;
  }
  */
  p #section3{
    text-align: center;
  }
 h2 #section3 {
  text-align: left;
}
 ul #section3{
  line-height: 5px;
}
  li {
    list-style-type: none;
    line-height: 25px;
  }
  #headline br {
    clear: both;
  }

  #headline #register {
    float: right;
    padding: 20px;
    width: 50%;
    box-sizing: border-box;
    font-weight: 300;
  }

  #section1 #section2, #section3 {
    box-sizing: border-box;
    padding: 10px 20% 60px 20%;
    text-align: left;
  }

  #section1 h2, #section2 h2, #section3 h2 {
    margin-top: 0;
    font-size: 60px
    text-transform: uppercase;
  }

  #section1 ul {
    box-sizing: border-box;
    float: left;
    width: 50%;
    padding-right: 1em;
  }

  #section1 video {
    box-sizing: border-box;
    width: 50%;
    float: right;
  }

  #section1 br {
    clear: both;
  }

  #section2 div img {
    width: 30%;
    margin: 1%;
    box-sizing: border-box;
    border-radius: 50% 50%;
    box-shadow: black 1px 1px 5px;
  }
}

            
          
!
            
              (function() {
  "use strict";

  var isLocalhost = Boolean(
    window.location.hostname === "localhost" ||
      window.location.hostname === "[::1]" ||
      window.location.hostname.match(
        /^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/
      )
  );

  if (
    "serviceWorker" in navigator &&
    (window.location.protocol === "https:" || isLocalhost)
  ) {
    navigator.serviceWorker
      .register("service-worker.js")
      .then(function(registration) {
        registration.onupdatefound = function() {
          if (navigator.serviceWorker.controller) {
            var installingWorker = registration.installing;

            installingWorker.onstatechange = function() {
              switch (installingWorker.state) {
                case "installed":
                  break;

                case "redundant":
                  throw new Error(
                    "The installing " + "service worker became redundant."
                  );

                default:
                // Ignore
              }
            };
          }
        };
      })
      .catch(function(e) {
        console.error("Error during service worker registration:", e);
      });
  }
})();

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console