LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code

  

  

J. Hart

Software & Web Developer

About Me

Hi, I'm J. Hart, a website and software developer.

I enjoy making applications with JavaScript, Python, and Ruby, and I also have experience in the front end and back end of websites. Formerly a freelancer on Fiverr, I've received a 4.7 rating for delivering quality, on-spec work.

In my spare time I'm a dinosaur fanatic. I like to read books on dinosaurs, stay up-to-date on paleontology news, and you can catch me on Twitter talking about them.

Download Resume

Favorite Tools

Git TravisCI Node.js Python Amazon Web Services MongoDB

Projects

Below are just a few highlights of my personal projects.

CSS
.jumbotron {
  background: linear-gradient(
      to bottom,
      rgba(21, 140, 184, 0.8),
      rgba(21, 140, 184, 0.8)
    ),
    url("https://dl.dropbox.com/s/1mcq86lnk0xqvhr/bg-top.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 2rem;
  margin-bottom: 4rem;
}
@media (min-width: 576px) {
  .jumbotron {
    padding: 8rem 4rem;
  }
}
.jumbotron-fluid {
  padding-right: 0;
  padding-left: 0;
  border-radius: 0;
}

.browser {
  border-top: 2em solid rgba(230, 230, 230, 0.7);
  box-shadow: 0 0.1em 0.1em 0 rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 3px 3px 0 0;
  max-height: 400px;
  display: block;
  overflow: hidden;
}

.browser-buttons {
  display: block;
  position: absolute;
  content: "";
  top: 0.75em;
  left: 1.8em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background-color: #f44;
  box-shadow: 0 0 0 2px #f44, 1.5em 0 0 2px #9b3, 3em 0 0 2px #fb5;
  z-index: 10;
}

.browser img {
  width: 100%;
}

.marg-bottom {
  margin-bottom: 20px;
}

.top-icons a {
  text-decoration: none;
  margin: 5px 10px;
  font-size: 2em;
}

.tool-icons img {
  height: 100px;
  margin-right: 25px;
}

.project-row {
  margin-bottom: 40px;
}

.btn-icon-sm {
  margin-right: 6px;
}

.btn-icon-sm {
  margin-right: 4px;
}

.responsive-img {
  width: 100%;
}
JS
// Select all links with hashes
$('a[href*="#"]')
  // Remove links that don't actually link to anything
  .not('[href="#"]')
  .not('[href="#0"]')
  // Remove tabbed nav links
  .not('[href*="#nav"]')
  .click(function(event) {
    // On-page links
    if (
      location.pathname.replace(/^\//, "") ==
        this.pathname.replace(/^\//, "") &&
      location.hostname == this.hostname
    ) {
      // Figure out element to scroll to
      var target = $(this.hash);
      target = target.length ? target : $("[name=" + this.hash.slice(1) + "]");
      // Does a scroll target exist?
      if (target.length) {
        // Only prevent default if animation is actually gonna happen
        event.preventDefault();
        $("html, body").animate(
          {
            scrollTop: target.offset().top
          },
          1000,
          function() {
            // Callback after animation
            // Must change focus!
            var $target = $(target);
            $target.focus();
            if ($target.is(":focus")) {
              // Checking if the target was focused
              return false;
            } else {
              $target.attr("tabindex", "-1"); // Adding tabindex for elements not focusable
              $target.focus(); // Set focus again
            }
          }
        );
      }
    }
  });
Term
Wed, 12/27/2017 - 06:59

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv