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"><h3>Day 55: Icon Set, Day 56: Breadcrumbs, Day 57: Video Player, Day 58: Shopping Cart, Day 59: Background Pattern, Day 60: Color Picker, Day 61: Redeem Coupon</h3></div>

  <!--------  Working area --------->
  <div class="working-area">
    <div class="md-toolbar-tools">
      <h3 flex="95">
        <span><a href="" target="_blank">Tutorials </a> ><a href="" target="_blank"> Youtube </a>> <a href=""> Advice</a></span>
      <md-button ng-click="showPrompt($event)">
        <img class="header-icons" src="">

  <h3>Press the '<img src="" style="width: 20px; height: 20px; margin-top: 0px">' in the video, and move the sliders (R,G,B,A) to apply a color filter in the video.</h3>
  <div class="picker">
    R: <input type="range" min="0" max="255" step="1" ng-model="r" /> <br> 
    G: <input type="range" min="0" max="255" step="1" ng-model="g" /> <br>  
    B: <input type="range" min="0" max="255" step="1" ng-model="b" /> <br> 
    A: <input type="range" min="0" max="1" step="0.1" ng-model="a" />
  <div class="color" style="background-color: rgba({{r}}, {{g}}, {{b}}, {{a}});"></div>
  <iframe width="480" height="320" src="" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
      <md-button class="submitButton"><a href="" target="_blank">Watch More</a></md-button>
  <!--------  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>




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

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

.working-area {
  width: 480px;
  height: 660px;
  margin: 0 auto;
  background-color: white;
  border: yellow 2px solid;

  padding-top: 16px;
  width: 46px;
  height: auto;

.picker {
  width: 100%;
  height: 130px;
  padding-top: 20px;
  padding-left: 20px;

.color {
  position: absolute;
  width: 480px;
  height: 160px;

  background-color: #dc1767 !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', 'material.svgAssetsCache'])

.controller('AppCtrl', function($scope, $mdDialog) {

$scope.showPrompt = function(ev) {
    // Appending dialog to document.body to cover sidenav in docs app
    var confirm = $mdDialog.prompt()
      .title('You are about to buy this cool filter')
      .textContent('If you have a coupon, please apply it below')
      .placeholder('Coupon Code')
      .ariaLabel('Dog name')
      .initialValue('Apply coupon')
      .cancel('proceed to payment');

    $ {
    }, function() {