123

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div ng-app="jumpPage" ng-controller="myCtrl">
  <div class="jumbotron ">
    <h1 class="animated rotateInDownLeft">{{jumppage.pageTitle}}</h1>
    <p class="animated rotateInUpLeft "><i class="fa fa-book"></i>Read, <i class="fa fa-play"></i>Watch, <i class="fa fa-hand-o-right"></i>Try<i class="fa fa-exchange"></i>Do</p><br>
    <ul class="animated lightSpeedIn ">
      <li ng-repeat="unit in jumppage.units"><a ng-href="{{'#'+unit.title}}">{{unit.title}}</a></li>
    </ul>
  </div>
  <div class="container animated fadeIn ">
    <div ng-attr-id="{{unit.title}}" ng-repeat="unit in jumppage.units">
      <h2 class="animated bounceInLeft"><a href="#top" title="go to top">{{unit.title}}</a></h2>
      <section ng-repeat="section in unit.sections">

        <h3 class="animated bounceInRight"> <a href="#top" title="go to top">{{section.title}}</a></h3>
        <div class="row text-center">
          <div ng-repeat="link in section.links" class="col-sm-3">
            <a ng-href="{{link.url}}" target="_blank">
              <div class="box " tabindex="0">

                <i ng-class="link.icon" class="fa fa-5x animated rubberBand"></i>
                <p>{{link.text}}</p>
              </div>
            </a>
            <p ng-if="link.desc" class="desc">{{link.desc}}</p>
          </div>
        </div>
        <hr>
      </section>
    </div>
  </div>
            
          
!
            
              body {
  display: block;
}
a, a:hover, a:focus {
  color: inherit;
  text-decoration: none;
}
a:visited .box{
  color: navy;
}

a:hover .box, a:focus .box{
  color: navy;
}

.box {
  box-shadow: 0px 10px 10px 5px #888888;
  margin-bottom: 40px;
  margin-top: 10px;
}
.box:hover {
  -ms-transform: scale(1.2); /* IE 9 */
  -webkit-transform: scale(1.2); /* Safari */
  transform: scale(1.2);
}
.desc {
  background-color: #f0f0f0;
}

.jumbotron{
  padding: 1rem 2rem;
}
.jumbotron i {
  margin-left: 20px;
}

.jumbotron ul{
   list-style: none;
  margin: none;
  padding: none;
text-align: center;
}

.jumbotron ul li{
  text-align: center;
  display: inline;
   border-right: 1px;
  border-right-style: solid;
}
.jumbotron a:link{
   display: inline;
}
.jumbotron li:last-of-type{
   border: none;
}
.jumbotron ul li a{
  padding: 2em;
}
            
          
!
            
              var app = angular.module("jumpPage", []);
app.controller("myCtrl", function($scope) {
  $scope.jumppage = {
    pageTitle: "Math 1530 Jump Page",
    units: [
      {
        title: "Unit 1",
        sections: [
          {
            title: "Section 1.1",
            links: [
              {
                text: "Statistics Thing 1",
                url: "http://http://google.com",
                // desc: "Optional description",
                icon: "fa-bath"
              }, //end of link object
              {
                text: "Statistics Thing 2",
                url: "http://yahoo.com",
                icon: "fa-camera-retro"
              }
            ] //end of array of links
          }, //end of section
          {
            title: "Section 2.12",
            links: [
              {
                text: "Statistics Thing 2.1",
                url: "http://google.com",
                icon: "fa-wpexplorer"
              },
              {
                text: "Statistics Thing 2",
                url: "http://yahoo.com",
                desc:
                  "Some information and stuff 2 for link 2 in unit 1 and section 2",
                icon: "fa-telegram"
              },
              {
                text: "Statistics Thing 2.1",
                url: "http://google.com",
                desc:
                  "Some information and stuff for link 1 in section 2 in unit 1",
                icon: "fa-ravelry"
              },
              {
                text: "Statistics Thing 2",
                url: "http://yahoo.com",
                desc:
                  "Some information and stuff 2 for link 2 in unit 1 and section 2",
                icon: "fa-briefcase"
              },
              {
                text: "Statistics Thing 2.1",
                url: "http://google.com",
                desc:
                  "Some information and stuff for link 1 in section 2 in unit 1",
                icon: "fa-cogs"
              },
              {
                text: "Statistics Thing 2",
                url: "http://yahoo.com",
                desc:
                  "Some information and stuff 2 for link 2 in unit 1 and section 2",
                icon: "fa-database"
              }
            ]
          }
        ] //end of array of sections
      }, //end of unit
      {
        title: "Unit 2",
        sections: [
          { title: "Section 2.1" },
          {
            title: "Section 2.2",
            links: [
              {
                text: "Statistics Thing 2.1",
                url: "http://google.com",
                icon: "fa-wpexplorer"
              }, 
              {
                text: "Statistics Thing 2",
                url: "http://yahoo.com",
                desc:
                  "Some information and stuff 2 for link 2 in unit 1 and section 2",
                icon: "fa-telegram"
              },
              {
                text: "Statistics Thing 2.1",
                url: "http://google.com",
                desc:
                  "Some information and stuff for link 1 in section 2 in unit 1",
                icon: "fa-ravelry"
              },
              {
                text: "Statistics Thing 2",
                url: "http://yahoo.com",
                desc:
                  "Some information and stuff 2 for link 2 in unit 1 and section 2",
                icon: "fa-briefcase"
              },
              {
                text: "Statistics Thing 2.1",
                url: "http://google.com",
                desc:
                  "Some information and stuff for link 1 in section 2 in unit 1",
                icon: "fa-cogs"
              },
              {
                text: "Statistics Thing 2",
                url: "http://yahoo.com",
                desc:
                  "Some information and stuff 2 for link 2 in unit 1 and section 2",
                icon: "fa-database"
              }
            ]
          }
        ]
      },
      {
        title: "Unit 3",
        sections: [{ title: "Section 3.1" }]
      },
      {
        title: "Unit 4",
        sections: [{ title: "Section 4.1" }]
      },
      {
        title: "Unit 5",
        sections: [
          {
            title: "Section 5.1",
            links: [
              {
                text: "Statistics Thing 1",
                url: "http://http://google.com",
                desc: "Some information and stuff ",
                icon: "fa-bath"
              }
            ]
          }
        ]
      }
    ] //end of array of units
  };
});

            
          
!
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.

Console