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


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


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.


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 lang="en" >
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- Angular Material style sheet -->
  <link rel="stylesheet" href="">
  <link href="" rel="stylesheet">
<body ng-app="MyApp" ng-controller="AppCtrl">
  <!-- Your HTML content here -->
  <!--------  Today's theme --------->
  <div layout="row" class="theme" layout-align="center center">Day 73: Virtual Reality, Day 74 Download App, Day 75 Pre-Order, Day 76 Loading..., Day 77 Thank You, Day 78 Pending Invitation, Day 79 Itinerary</div>

  <!--------  Working area --------->
  <div class="working-area">
    <h2>Virtual Reality Kit and App</h2>
<!--     Day 73: Virtual Reality -->
    <div layout="row" layout-align="center center">
      <img src=""></div>
<!--     Day 74 Download App, Day 75 Pre-Order -->
    <div layout="row" layout-align="space-around center">
      <md-button flex="50" ng-click="showPreOrder($event)" class="submitButton">Pre-Order</md-button>
<!--     Day 76 Loading... Day 77 Thank You -->
      <md-button flex="50" ng-click="showAlert()" class="submitButton">Download App</md-button>
<!--     Day 78 Pending Invitation -->
     <div layout="row" layout-align="center center" class="invitation">Download the app and Connect with the VR world</div>
    <div layout="row" layout-align="space-around center">
      <md-button class="invitationButtons" flex="50">Accept invitation</md-button>
      <md-button class="invitationButtons" flex="50">Decline</md-button>
<!--     Day 79 Itinerary -->
    <div layout="row"><md-button flex="100" class="submitButton"><a href="" target="_blank">Itinerary</md-button></div>
  <!--------  Footer --------->
  <div id="footer_container">
    <div layout="row" layout-align="center center"><h3>Youtube tutorial <a href="" target="_blank"> here!</a></h3></div><br>
    <div layout="row" layout-align="center center">Created by Eleftheria</div>
    <div layout="row" layout-align="center center" class="footer">

        <!-- Linkedin -->
        <a href="" target="_blank"><img src="" class="footer_image" alt="linkedin" title="linkedin"></a> ~
        <!-- Codepen -->
        <a href="" target="_blank"><img src="" class="footer_image" alt="codepen" title="codepen"></a> ~
        <!-- Youtube -->
        <a href="" target="_blank"><img src="" class="footer_image" alt="youtube" title="youtube"></a> ~
        <!-- Twitter -->
        <a href="" target="_blank"><img src="" class="footer_image" alt="twitter" title="twitter"></a> ~
        <!-- Github -->
        <a href="" target="_blank"><img src="" class="footer_image" alt="github" title="github"></a> ~ 
        <!-- Instagram -->
        <a href="" target="_blank"><img src="" class="footer_image" alt="instagram" title="instagram"></a> ~
      <!-- Website -->
        <a href="" target="_blank"><img src="" class="footer_image" alt="website" title="website"></a>
  <script type="text/ng-template" id="dialog.tmpl.html"><md-dialog aria-label="PreOrder">
      <div class="md-toolbar-tools">
        <h2>Pre Order the newest Kit</h2>
        <span flex></span>
        <md-button class="md-icon-button" ng-click="cancel()">
          <md-icon md-svg-src="img/icons/ic_close_24px.svg" aria-label="Close dialog"></md-icon>

      <div class="md-dialog-content" style="width: auto;">
    <form name="preOrderForm">
      <div layout="row">
        <md-input-container class="md-block">
          <input required="" name="name" ng-model="project.Name">
          <div ng-messages="projectForm.Name.$error">
            <div ng-message="required">This is required.</div>
        <md-input-container class="md-block">
          <label>Last Name</label>
          <input required="" name="lastname" ng-model="project.lastName">
          <div ng-messages="projectForm.lastName.$error">
            <div ng-message="required">This is required.</div>

      <md-input-container class="md-block">
        <input required="" name="Email" ng-model="project.Email" minlength="4" maxlength="100" type="email">

        <div ng-messages="projectForm.clientEmail.$error" role="alert">
          <div ng-message-exp="['required', 'minlength', 'maxlength']">
            Your email must be between 4 and 100 characters long and look like an e-mail address.

      <md-input-container class="md-block">
        <md-checkbox name="tos" ng-model="project.tos" required="">
          I accept the terms of service.
        <div ng-messages="projectForm.tos.$error" multiple="" md-auto-hide="false">
          <div ng-message="required">
            You must accept the terms of service before you can proceed.

    <md-dialog-actions layout="row">
      <md-button type="submit" class="submitButton">Pre Order Now</md-button>




                body {  
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAATklEQVQoU2O0O3X+PwMDA8MhM0NGEI0LMBKtEJsJD27YgW1R0DgEtwWrdUQrxGYLY8V5iDUdhghrKFOITfenmXFgW/jSF+H3DNEKsdkCAO99IAvXcD3VAAAAAElFTkSuQmCC') repeat;

.theme {
  padding: 32px 0;
  font-family: 'Pacifico', cursive; 

.working-area {
  width: 320px;
  height: 540px;
  margin: 0 auto;
  background-color: white;
  border: yellow 8px solid;

.invitation {
  padding: 16px;
  text-align: center;  
.invitationButtons {
  padding: 8px !important;
  border-radius: 16px !important;
  background-color: lightblue !important; 
  margin-bottom: 50px !important;
  text-transform: capitalize !important;

  background-color: #dc1767 !important;
  color: white !important;
.submitButton a{
  color: white !important;
.submitButton a:hover{
  color: lightblue !important;

#footer_container {
  font-family: 'Pacifico', cursive; 
.footer .footer_image {
  height: 24px;
  text-align: center;
  padding: 4px;

.footer .footer_image:hover,
#footer_container a:hover {
  background-color: lightblue;
#footer_container a:link,
#footer_container a:active{
  color: #dc1767;



                angular.module('MyApp', ['ngMaterial', 'ngMessages'])

.controller('AppCtrl', function($scope, $mdDialog, $timeout) {
  $scope.showPreOrder = function(ev) {
      controller: DialogController,
      templateUrl: 'dialog.tmpl.html',
      parent: angular.element(document.body),
      targetEvent: ev,

  function DialogController($scope, $mdDialog) {
    $scope.cancel = function() {
  $scope.showAlert = function(ev) {
      template: '<md-dialog id="plz_wait" style="box-shadow:none">' +
        '<md-dialog-content layout="row" layout-margin layout-padding layout-align="center center" aria-label="wait">' +
        '<md-progress-circular md-mode="indeterminate" md-diameter="40"></md-progress-circular>' +
        'Download should start shortly. Thank you' +
        '</md-dialog-content>' +
      parent: angular.element(document.body),
      clickOutsideToClose: false,
      fullscreen: false,
      escapeToClose: false
    $timeout(function() {
    }, 5000);