Skip to content

Instantly share code, notes, and snippets.

@FeliciaAnnKelleyTaylorGV
Last active March 11, 2024 01:36
Show Gist options
  • Save FeliciaAnnKelleyTaylorGV/d080363aeacdd1f9c3f64dbb717481d2 to your computer and use it in GitHub Desktop.
Save FeliciaAnnKelleyTaylorGV/d080363aeacdd1f9c3f64dbb717481d2 to your computer and use it in GitHub Desktop.
TaylorKelley
loan(goods, principal, penalty, t1, t2) = counterpartySecurity = pledge(allGoods(Counterparty)) with to Counterparty getTitle(goods) loanPayment(principal, t1, t2) with when breachedPerformance(loanPayment) to Holder foreclose(counterpartySecurity, penalty) loanPayment(principal, t1, t2) = when withinPeriod(t1,t2) when choiceOf(Holder) to Holder principal <style> #div1 { position: relative; margin: auto; height: 150px; width: 250px; padding: 10px; border: 1px solid black; animation: mymove 5s infinite; perspective: 200px; }
  @keyframes mymove {
    50% {
      perspective: 100px;
    }
  }

  #div2 {
    padding: 50px;
    position: absolute;
    border: 1px solid black;
    background-color: red;
    transform: rotateX(45deg);
  }
</style>
<h1>Projects::</h1>

<div id="div1">DIV1
  <div id="div2">ABCDEFGHIJKLMNOPQRSTRUVWXYZ.0123456789.</div>
</div>
<head>escrowRight(right, escrow, newHolder, currentHolder,
    newHolderReleaseEvents, currentHolderReleaseEvents) =
to escrow right 
then
when (holderReleaseEvents) 
	to rightHolder right then terminate 
when (counterpartyReleaseEvents) 
	to currentHolder right then terminate 

writeCallOptionAmerican(rightA, rightB, rightX, time) = escrowRight(rightA, Holder, Counterparty, (optionExercised), (optionExpired)) then to Counterparty callOptionAmercian(rightA, rightB, time) with to Holder rightX <style> #myDIV { height: 100px; background-color: coral; color: white; animation: mymove 5s infinite; }

    @keyframes mymove {
      50% {
        height: 500px;
      }
    }
  </style>
</head>

<body>

  <h1>callOptionAmerican(escrowRight, rightB, time) = 
when beforeTime(time) 
 		when choiceOf(Holder) 
		{ throw optionExercised at escrowRight } 
		with to Counterparty rightB 
		then terminate
when afterTime(time) 
	throw optionExpired at escrowRight 
	then terminate</h1>

  <p>Gradually change the height of the DIV element from 100px to 500px, and back to 100px:
  <p>

  <div id="myDIV">
    <h1>My DIV</h1>
  </div>

  <p><b>Note:</b> CSS Animations do not work in Internet Explorer 9 and earlier versions.</p>

</body>

sellCandy(candyPrice = $0.90) = variable moneyAmount = $0.00 then # coins also fall into a temporary till tempTill when choiceOf(Counterparty, nickel) to TempTill nickel then to Counterparty add(moneyAmount, $0.05) then to Counterparty display(moneyAmount) when choiceOf(Counterparty, dime) to TempTill dime then to Counterparty add(moneyAmount, $0.10) then to Counterparty display(moneyAmount) when choiceOf(Counterparty, quarter) to TempTill quarter then to Counterparty add(moneyAmount, $0.25) then to Counterparty display(moneyAmount) when choiceOf(Counterparty, moneyReturn) to Counterparty dropCoins(tempTill, returnTill) with moneyAmount = $0.00 then to Counterparty display(moneyAmount) when threshold(moneyAmount, candyPrice) to Holder (nickel | dime | quarter) to CounterParty redirectNewCoinsTo(returnTill) also display("ready to dispense -- please select candy") then when (candySelection) to Counterparty dropCandy(candyRacks, candySelection) with to PermanentTill dropCoins(TempTill) with moneyAmount = $0.00 continue

<html>

<head>
  <style>
    #myDIV {
      width: 300px;
      height: 200px;
      border: 1px solid black;
      animation: mymove 5s infinite;
    }

    @keyframes mymove {
      50% {
        border-left: 15px solid lightblue;
      }
    }
  </style>

</head>

<body>

  <h1>Animation of border-left</h1>

  <p>Gradually change the border-left property:
  <p>
  <div id="myDIV"></div>

  <p>The border-left is a shorthand property for all border-left properties.</p>
  <p>See individual border-left properties to see which is <em>animatable</em>.</p>
</body>

</html>

<html>

<head>
  <style>
    #myDIV {
      background-color: lightblue;
      border: 1px solid black;
      animation: mymove 5s infinite;
    }

    @keyframes mymove {
      50% {
        padding-top: 50px;
      }
    }
  </style>
</head>

<body>
  <h1>Animation of padding-top</h1>
  <!DOCTYPE html>
  <html>

  <head>
    <style>
      #div1 {
        position: relative;
        margin: auto;
        height: 150px;
        width: 250px;
        padding: 10px;
        border: 1px solid black;
        animation: mymove 5s infinite;
        perspective: 200px;
      }

      @keyframes mymove {
        50% {
          perspective: 100px;
        }
      }

      #div2 {
        padding: 50px;
        position: absolute;
        border: 1px solid black;
        background-color: red;
        transform: rotateX(45deg);
      }
    </style>
  </head>

  <body>
    <h1>Github</h1>
    <div id="div1">Spoon.Knife
       <div id="div2">Salt, Paypal payflow, the Dash Core using RheL from Redhat Masternode. Dash, Atlassian Jira Node </div>
    </div>
  </body>

  </html>
  <div id="myDIV">
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat...
  </div>
  </body<div id="div2">Salt, Paypal payflow, the Dash Core using RheL from Redhat Masternode. Dash, Atlassian Jira Node </div>
  </div>
</body>

</html>
<div id="myDIV">
  Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat...
</div>
</body>

</html>
>

</html>
<!DOCTYPE HTML>
<html>

<head>
  <!DOCTYPE html>
  <html>
  <!DOCTYPE html>
  <html>

  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script>
      $(document).ready(function() {
        $("#flip").click(function() {
          $("#panel").slideDown("slow");
        });
      });
    </script>
    <style>
      #panel,
      #flip {
        padding: 5px;
        text-align: center;
        background-color: #e5eecc;
        border: solid 1px #c3c3c3;
      }

      #panel {
        padding: 50px;
        display: none;
      }
    </style>
  </head>

<body>

  <div id="flip">Click to slide down panel</div>
  <div id="panel">Hello world!</div>

</body>

</html>

<head>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  <script>
    $(document).ready(function(onClick) {
      $("#flip").click(function() {
        $("#panel").slideDown("slow");
      });
    });
  </script>
  <style>
    #panel,
    #flip {
      padding: 5px;
      text-align: center;
      background-color: #e5eecc;
      border: solid 1px #c3c3c3;
    }

    #panel {
      padding: 50px;
      display: none;
    }
  </style>
</head>

<body>

  <div id="flip">Click to slide down panel</div>
  <div id="panel">Hello world!</div>

</body>

</html>
<!DOCTYPE html>
<html>

<head>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  <script>
    $(document).ready(function() {
      $("button").click(function() {
        $("#div1").fadeIn();
        $("#div2").fadeIn("slow");
        $("#div3").fadeIn(3000);
      });
    });
  </script>
</head>

<body>

  <p>Demonstrate fadeIn(
    <!DOCTYPE html>
    <html>

    <head>
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
      <script>
        $(document).ready(function() {
          $("#flip").click(function() {
            $("#panel").slideDown("slow");
          });
        });
      </script>
      <style>
        #panel,
        #flip {
          padding: 5px;
          text-align: center;
          background-color: #e5eecc;
          border: solid 1px #c3c3c3;
        }

        #panel {
          padding: 50px;
          display: none;
        }
      </style>
    </head>

    <body>

      <div id="flip">Click to slide down panel</div>
      <div id="panel">Hello world!</div>

    </body>

    </html>
    ) with different parameters.
  </p>
  <!DOCTYPE html>
  <html>

  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script>
      $(document).ready(function() {
        $("#flip").click(function() {
          $("#panel").slideDown("slow");
        });
      });
    </script>
    <style>
      #panel,
      #flip {
        padding: 5px;
        text-align: center;
        background-color: #e5eecc;
        border: solid 1px #c3c3c3;
      }

      #panel {
        padding: 50px;
        display: none;
      }
    </style>
  </head>

  <body>

    <div id="flip">Click to slide down panel</div>
    <div id="panel">Hello world!</div>
    <!DOCTYPE html>
    <html>

    <head>
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
      <script>
        $(document).ready(function() {
          $("button").click(function() {
            var div = $("div");
            div.animate({
              height: '300px',
              opacity: '0.4'
            }, "slow");
            div.animate({
              width: '300px',
              opacity: '0.8'
            }, "slow");
            div.animate({
              height: '100px',
              opacity: '0.4'
            }, "slow");
            div.animate({
              width: '100px',
              opacity: '0.8'
            }, "slow");
          });
        });
      </script>
    </head>

    <body>

      <button>Start Animation</button>

      <p>By default, all HTML elements have a static position, and cannot be moved. To manipulate the position, remember to first set the CSS position property of the element to relative, fixed, or absolute!</p>

      <div style="background:#98bf21;height:100px;width:100px;position:absolute;"></div>

    </body>

    </html>

  </body>

  </html>
  <!DOCTYPE html>
  <html>

  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script>
      $(document).ready(function() {
        $("#flip").click(function() {
          $("#panel").slideDown("slow");
        });
      });
    </script>
    <style>
      #panel,
      #flip {
        padding: 5px;
        text-align: center;
        background-color: #e5eecc;
        border: solid 1px #c3c3c3;
      }

      #panel {
        padding: 50px;
        display: none;
      }
    </style>
  </head>

  <body>

    <div id="flip">Click to slide down panel</div>
    <div id="panel">Hello world!</div>

  </body>

  </html>
  <!DOCTYPE html>
  <html>

  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script>
      $(document).ready(function() {
        $("#flip").click(function() {
          $("#panel").slideDown("slow");
        });
      });
    </script>
    <style>
      #panel,
      #flip {
        padding: 5px;
        text-align: center;
        background-color: #e5eecc;
        border: solid 1px #c3c3c3;
      }

      #panel {
        padding: 50px;
        display: none;
      }
    </style>
  </head>

  <body>

    <div id="flip">Click to slide down panel</div>
    <div id="panel">Hello world!</div>

  </body>

  </html>

  <button>Click to fade in boxes</button><br><br>

  <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
  <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
  <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

</body>

</html>

<style>
  #test {
    width: 100px;
    height: 100px;
    margin: 0px auto;
  }
</style>
<!DOCTYPE html>
<html>

<head>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  <script>
    $(document).ready(function() {
      $("button").click(function() {
        $("#div1").fadeIn();
        $("#div2").fadeIn("slow");
        $("#div3").fadeIn(3000);
      });
    });
  </script>
</head>

<body>

  <p>Demonstrate fadeIn() with different parameters.</p>

  <button>Click to fade in boxes</button><br><br>

  <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
  <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
  <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

</body>

</html>

<script type="text/javascript">
  function drawShape( < !DOCTYPE html > < !DOCTYPE html >
    <
    html >
    <
    head >
    <
    script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" >
</script>
<script>
  $(document).ready(function() {
    $("#flip").click(function() {
      $("#panel").slideDown("slow");
    });
  });
</script>
<style>
  #panel,
  #flip {
    padding: 5px;
    text-align: center;
    background-color: #e5eecc;
    border: solid 1px #c3c3c3;
  }

  #panel {
    padding: 50px;
    display: none;
  }
</style>
</head>

<body>

  <div id="flip">Click to slide down panel</div>
  <div id="panel">Hello world!</div>
  $("button").click(function(){

</body>

</html>

<html>

<head>
  <title>HTML Definition List</title>
</head>

<body>
  <dl>
    <!DOCTYPE html>
    <html>

    <head>
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
      <script>
        $(document).ready(function() {
          $("button").click(function() {
            $("#div1").fadeIn();
            $("#div2").fadeIn("slow");
            $("#div3").fadeIn(3000);
          });
        });
      </script>
    </head>

    <body>

      <p>Demonstrate fadeIn() with different parameters.</p>

      <button>Click to fade in boxes</button><br><br>

      <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
      <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
      <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

    </body>

    </html>

    <dt><b>HTML</b></dt>
    <dd>This stands for Hyper Text Markup Langu
      age</dd>
    <dt><b>HTTP</b></dt>
    <dd>This stands for Hyper Text Transfer Pro
      tocol</dd>
  </dl>
</body>

</html>
){
<!DOCTYPE html>
<html>

<head>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  <script>
    $(document).ready(function() {
      $("button").click(function() {
        $("#div1").fadeIn();
        $("#div2").fadeIn("slow");
        $("#div3").fadeIn(3000);
      });
    });
  </script>
</head>

<body>

  <p>Demonstrate fadeIn() with different parameters.</p>

  <button>Click to fade in boxes</button><br><br>

  <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
  <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
  <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

</body>

</html>

// get the canvas element using the DOM
$("button").click(function(){
var canvas = document.getElementById('mycanvas');

// use getContext to use the canvas for drawing
var ctx = canvas.getContext('2d');

// Create a pattern
for (var i=0;i<7;i++) { for (var j=0;j<7;j++) { ctx.fillStyle='rgb(' + Math.floor(255-20.5*i)+ ',' + Math.floor(255 - 42.5*j) + ',255)' ; ctx.fillRect( j*25, i* 25, 55, 55 ); } } } </script>
  </head>

  <body id="test" onload="drawShape();">
    </br></br>
    <canvas id="mycanvas"></canvas>
  </body>

  </html>
  <!DOCTYPE html>
  <html>
  <!DOCTYPE HTML>
  <html>

  <head>

    <style>
      #test {
        width: 100px;
        height: 100px;
        margin: 0px auto;
      }
    </style>

    <script type="text/javascript">
      function drawShape() {
        // get the canvas element using the DOM
        var canvas = document.getElementById('mycanvas');
        // use getContext to use the canvas for drawing
        var ctx = canvas.getContext('2d');
        // Create a pattern
        for (var i = 0; i < 7; i++) {
          for (var j = 0; j < 7; j++) {
            ctx.fillStyle = 'rgb(' + Math.floor(255 - 20.5 * i) + ',' + Math.floor(255 - 42.5 * j) + ',255)';
            ctx.fillRect(j * 25, i * 25, 55, 55);
          }
        }
      }
    </script>
  </head>

  <body id="test" onload="drawShape();">
    </br></br>
    <canvas id="mycanvas"></canvas>
  </body>

  </html>

  <head>
    <title>HTML area Tag</title>
  </head>

  <body>

    <img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" />

    <map name="prghb">

      <!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)-->

      <area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" />

    </map>

  </body>

  </html>
  <html>

  <head>
    <title>MS.AKA fk = og </title>
  </head>

  <body>

    <!-- <area> Tag with rectangle shape

The HTML tag is used for defining an area in an image map.-->

    <!DOCTYPE html>
    <html>

    <head>
      <title>HTML area Tag</title>
    </head>

    <body>

      <img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" />

      <map name="prghb">

        <!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)-->

        <area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" />

      </map>

    </body>

    </html>
    <table cellpadding="20" border="1">
      <tr>
        <th>Felicia Ann Kelley, 32</th>
        <th>+1(619)227-7868</th>
      </tr>
      <tr>
        <td>San Diego,CA</td>
        <td></td>
      </tr>
    </table>

  </body>

  </html>
  <html>

  <head>
    <style>
      #myDIV {
        width: 100px;
        height: 100px;
        background: red;
        position: relative;
        animation: mymove 1s infinite;
      }

      @keyframes mymove {
        from {
          left: 0px;
        }

        to {
          left: 200px;
        }
      }

      @keyframes mynewmove {
        from {
          top: 0px;
        }

        to {
          top: 200px;
        }
      }
    </style>
  </head>

  <body>

    <p>Click the "Try it" button to change the value of the animation property.</p>
    <button onclick="myFunction()">Try it</button>
    <script>
      function myFunction( < !-- < input > Tag Defines a date and time control(year, month, day, hour, minute, second, and fraction of a second(no time zone)
          -- >
          <
          !DOCTYPE html >
          <
          html >
          <
          head >
          <
          title > HTML input type date < /title> < /
          head > <
          body >
          <
          form >
          Birthday(date and time): < input type = "datetime-local"
          name = "bdaytime" > -
          <
          /form> < /
          body > <
          /html>) {
          document.getElementById("myDIV").style.animation = "mynewmove 4s 2";
        }
    </script>

    <div id="myDIV"></div>

  </body>

  </html>
  <!-- <input> Tag

Defines a date and time control (year, month, day, hour, minute, second, and fraction of a second (no time zone) -->

  <!DOCTYPE html>
  <html>
  <!DOCTYPE html>
  <html>

  <head>
    <title>HTML Definition List</title>
  </head>

  <body>
    <dl>
      <dt><b>HTML</b></dt>
      <dd>This stands for Hyper Text Markup Langu
        age</dd>
      <dt><b>HTTP</b></dt>
      <dd>This stands for Hyper Text Transfer Pro
        tocol</dd>
    </dl>
  </body>

  </html>
  <!DOCTYPE html>
  <html>

  <head>
    <title>HTML Definition List</title>
  </head>

  <body>
    <dl>
      <dt><b>HTML</b></dt>
      <dd>This stands for Hyper Text Markup Langu
        age</dd>
      <dt><b>HTTP</b></dt>
      <dd>This stands for Hyper Text Transfer Pro
        tocol</dd>
    </dl>
  </body>

  </html>

  <head>
    <title> HTML input type date </title>
  </head>

  <body>
    <form>
      Birthday (date and time): <input type="datetime-local" name="bdaytime">-
    </form>
  </body>

  </html>
  <!-- <input> Tag

Defines a file-select field and a "Browse..." button (for file uploads) -->

  <!DOCTYPE html>
  <html>

  <head>
    <title>
      <!DOCTYPE html>
      <html>

      <head>
        <title>HTML Definition List</title>
      </head>

  <body>
    <dl>
      <dt><b>HTML</b></dt>
      <dd>This stands for Hyper Text Markup Langu
        age</dd>
      <dt><b>HTTP</b></dt>
      <dd>This stands for Hyper Text Transfer Pro
        tocol</dd>
    </dl>
  </body>

  </html>
  </title>
  </head>

  <body>
    <form>
      Select a file: <input type="file" name="reference"> <br>
      <input type="submit">
    </form>
  </body>

  </html>

  <!-- <input> Tag

Defines a control for entering a number whose exact value is not important (like a slider control) -->

  <head>
    <title>HTML dialog Tag</title>
  </head>

  <body>

    <!-- Simple pop-up dialog box, containing a form -->
    <dialog id="dialog">
      <form method="dialog">
        <h3> Hello</h3>
        <menu>
          <button id="close" type="reset">Close</button>
        </menu>
      </form>
    </dialog>

    <menu>
      <button id="click">Click Me</button>
    </menu>

    <script>
      (function() {
        var clickButton = document.getElementById('click');
        var closeButton = document.getElementById('close');
        var Dialog = document.getElementById('dialog');
        // Update button opens a modal dialog
        clickButton.addEventListener('click', function() {
          Dialog.showModal();
        });
        // Form close button closes the dialog box
        closeButton.addEventListener('click', function() {
          Dialog.close();
        });
      })();
    </script>

  </body>

  </html>
  <!DOCTYPE html>
  <html>
  <!DOCTYPE HTML>
  <html>

  <head>
    <!DOCTYPE html>
    <html>
    <!DOCTYPE html>
    <html>

    <head>
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
      <script>
        $(document).ready(function() {
          $("#flip").click(function() {
            $("#panel").slideDown("slow");
          });
        });
      </script>
      <style>
        #panel,
        #flip {
          padding: 5px;
          text-align: center;
          background-color: #e5eecc;
          border: solid 1px #c3c3c3;
        }

        #panel {
          padding: 50px;
          display: none;
        }
      </style>
    </head>

  <body>

    <div id="flip">Click to slide down panel</div>
    <div id="panel">Hello world!</div>

  </body>

  </html>

  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script>
      $(document).ready(function(onClick) {
        $("#flip").click(function() {
          $("#panel").slideDown("slow");
        });
      });
    </script>
    <style>
      #panel,
      #flip {
        padding: 5px;
        text-align: center;
        background-color: #e5eecc;
        border: solid 1px #c3c3c3;
      }

      #panel {
        padding: 50px;
        display: none;
      }
    </style>
  </head>

  <body>

    <div id="flip">Click to slide down panel</div>
    <div id="panel">Hello world!</div>

  </body>

  </html>
  <!DOCTYPE html>
  <html>

  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script>
      $(document).ready(function() {
        $("button").click(function() {
          $("#div1").fadeIn();
          $("#div2").fadeIn("slow");
          $("#div3").fadeIn(3000);
        });
      });
    </script>
  </head>

  <body>

    <p>Demonstrate fadeIn(
      <!DOCTYPE html>
      <html>

      <head>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
        <script>
          $(document).ready(function() {
            $("#flip").click(function() {
              $("#panel").slideDown("slow");
            });
          });
        </script>
        <style>
          #panel,
          #flip {
            padding: 5px;
            text-align: center;
            background-color: #e5eecc;
            border: solid 1px #c3c3c3;
          }

          #panel {
            padding: 50px;
            display: none;
          }
        </style>
      </head>

      <body>

        <div id="flip">Click to slide down panel</div>
        <div id="panel">Hello world!</div>

      </body>

      </html>
      ) with different parameters.
    </p>
    <!DOCTYPE html>
    <html>

    <head>
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
      <script>
        $(document).ready(function() {
          $("#flip").click(function() {
            $("#panel").slideDown("slow");
          });
        });
      </script>
      <style>
        #panel,
        #flip {
          padding: 5px;
          text-align: center;
          background-color: #e5eecc;
          border: solid 1px #c3c3c3;
        }

        #panel {
          padding: 50px;
          display: none;
        }
      </style>
    </head>

    <body>

      <div id="flip">Click to slide down panel</div>
      <div id="panel">Hello world!</div>
      <!DOCTYPE html>
      <html>

      <head>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
        <script>
          $(document).ready(function() {
            $("button").click(function() {
              var div = $("div");
              div.animate({
                height: '300px',
                opacity: '0.4'
              }, "slow");
              div.animate({
                width: '300px',
                opacity: '0.8'
              }, "slow");
              div.animate({
                height: '100px',
                opacity: '0.4'
              }, "slow");
              div.animate({
                width: '100px',
                opacity: '0.8'
              }, "slow");
            });
          });
        </script>
      </head>

      <body>

        <button>Start Animation</button>

        <p>By default, all HTML elements have a static position, and cannot be moved. To manipulate the position, remember to first set the CSS position property of the element to relative, fixed, or absolute!</p>

        <div style="background:#98bf21;height:100px;width:100px;position:absolute;"></div>

      </body>

      </html>

    </body>

    </html>
    <!DOCTYPE html>
    <html>

    <head>
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
      <script>
        $(document).ready(function() {
          $("#flip").click(function() {
            $("#panel").slideDown("slow");
          });
        });
      </script>
      <style>
        #panel,
        #flip {
          padding: 5px;
          text-align: center;
          background-color: #e5eecc;
          border: solid 1px #c3c3c3;
        }

        #panel {
          padding: 50px;
          display: none;
        }
      </style>
    </head>

    <body>

      <div id="flip">Click to slide down panel</div>
      <div id="panel">Hello world!</div>

    </body>

    </html>
    <!DOCTYPE html>
    <html>

    <head>
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
      <script>
        $(document).ready(function() {
          $("#flip").click(function() {
            $("#panel").slideDown("slow");
          });
        });
      </script>
      <style>
        #panel,
        #flip {
          padding: 5px;
          text-align: center;
          background-color: #e5eecc;
          border: solid 1px #c3c3c3;
        }

        #panel {
          padding: 50px;
          display: none;
        }
      </style>
    </head>

    <body>

      <div id="flip">Click to slide down panel</div>
      <div id="panel">Hello world!</div>

    </body>

    </html>

    <button>Click to fade in boxes</button><br><br>

    <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
    <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
    <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

  </body>

  </html>

  <style>
    #test {
      width: 100px;
      height: 100px;
      margin: 0px auto;
    }
  </style>
  <!DOCTYPE html>
  <html>

  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script>
      $(document).ready(function() {
        $("button").click(function() {
          $("#div1").fadeIn();
          $("#div2").fadeIn("slow");
          $("#div3").fadeIn(3000);
        });
      });
    </script>
  </head>

  <body>

    <p>Demonstrate fadeIn() with different parameters.</p>

    <button>Click to fade in boxes</button><br><br>

    <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
    <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
    <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

  </body>

  </html>

  <script type="text/javascript">
    function drawShape( < !DOCTYPE html > < !DOCTYPE html >
      <
      html >
      <
      head >
      <
      script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" >
  </script>
  <script>
    $(document).ready(function() {
      $("#flip").click(function() {
        $("#panel").slideDown("slow");
      });
    });
  </script>
  <style>
    #panel,
    #flip {
      padding: 5px;
      text-align: center;
      background-color: #e5eecc;
      border: solid 1px #c3c3c3;
    }

    #panel {
      padding: 50px;
      display: none;
    }
  </style>
  </head>

  <body>

    <div id="flip">Click to slide down panel</div>
    <div id="panel">Hello world!</div>
    $("button").click(function(){

  </body>

  </html>

  <html>

  <head>
    <title>HTML Definition List</title>
  </head>

  <body>
    <dl>
      <!DOCTYPE html>
      <html>

      <head>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
        <script>
          $(document).ready(function() {
            $("button").click(function() {
              $("#div1").fadeIn();
              $("#div2").fadeIn("slow");
              $("#div3").fadeIn(3000);
            });
          });
        </script>
      </head>

      <body>

        <p>Demonstrate fadeIn() with different parameters.</p>

        <button>Click to fade in boxes</button><br><br>

        <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
        <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
        <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

      </body>

      </html>

      <dt><b>HTML</b></dt>
      <dd>This stands for Hyper Text Markup Langu
        age</dd>
      <dt><b>HTTP</b></dt>
      <dd>This stands for Hyper Text Transfer Pro
        tocol</dd>
    </dl>
  </body>

  </html>
  ){
  <!DOCTYPE html>
  <html>

  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script>
      $(document).ready(function() {
        $("button").click(function() {
          $("#div1").fadeIn();
          $("#div2").fadeIn("slow");
          $("#div3").fadeIn(3000);
        });
      });
    </script>
  </head>

  <body>

    <p>Demonstrate fadeIn() with different parameters.</p>

    <button>Click to fade in boxes</button><br><br>

    <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
    <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
    <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

  </body>

  </html>

  // get the canvas element using the DOM
  $("button").click(function(){
  var canvas = document.getElementById('mycanvas');

  // use getContext to use the canvas for drawing
  var ctx = canvas.getContext('2d');

  // Create a pattern
  for (var i=0;i<7;i++) { for (var j=0;j<7;j++) { ctx.fillStyle='rgb(' + Math.floor(255-20.5*i)+ ',' + Math.floor(255 - 42.5*j) + ',255)' ; ctx.fillRect( j*25, i* 25, 55, 55 ); } } } </script>
    </head>

    <body id="test" onload="drawShape();">
      </br></br>
      <canvas id="mycanvas"></canvas>
    </body>

    </html>
    <!DOCTYPE html>
    <html>
    <!DOCTYPE HTML>
    <html>

    <head>

      <style>
        #test {
          width: 100px;
          height: 100px;
          margin: 0px auto;
        }
      </style>

      <script type="text/javascript">
        function drawShape() {
          // get the canvas element using the DOM
          var canvas = document.getElementById('mycanvas');
          // use getContext to use the canvas for drawing
          var ctx = canvas.getContext('2d');
          // Create a pattern
          for (var i = 0; i < 7; i++) {
            for (var j = 0; j < 7; j++) {
              ctx.fillStyle = 'rgb(' + Math.floor(255 - 20.5 * i) + ',' + Math.floor(255 - 42.5 * j) + ',255)';
              ctx.fillRect(j * 25, i * 25, 55, 55);
            }
          }
        }
      </script>
    </head>

    <body id="test" onload="drawShape();">
      </br></br>
      <canvas id="mycanvas"></canvas>
    </body>

    </html>

    <head>
      <title>HTML area Tag</title>
    </head>

    <body>

      <img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" />

      <map name="prghb">

        <!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)-->

        <area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" />

      </map>

    </body>

    </html>
    <html>

    <head>
      <title>MS.AKA fk = og </title>
    </head>

    <body>

      <!-- <area> Tag with rectangle shape

The HTML tag is used for defining an area in an image map.-->

      <!DOCTYPE html>
      <html>

      <head>
        <title>HTML area Tag</title>
      </head>

      <body>

        <img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" />

        <map name="prghb">

          <!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)-->

          <area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" />

        </map>

      </body>

      </html>
      <table cellpadding="20" border="1">
        <tr>
          <th>Felicia Ann Kelley, 32</th>
          <th>+1(619)227-7868</th>
        </tr>
        <tr>
          <td>San Diego,CA</td>
          <td></td>
        </tr>
      </table>

    </body>

    </html>
    <html>

    <head>
      <style>
        #myDIV {
          width: 100px;
          height: 100px;
          background: red;
          position: relative;
          animation: mymove 1s infinite;
        }

        @keyframes mymove {
          from {
            left: 0px;
          }

          to {
            left: 200px;
          }
        }

        @keyframes mynewmove {
          from {
            top: 0px;
          }

          to {
            top: 200px;
          }
        }
      </style>
    </head>

    <body>

      <p>Click the "Try it" button to change the value of the animation property.</p>
      <button onclick="myFunction()">Try it</button>
      <script>
        function myFunction( < !-- < input > Tag Defines a date and time control(year, month, day, hour, minute, second, and fraction of a second(no time zone)
            -- >
            <
            !DOCTYPE html >
            <
            html >
            <
            head >
            <
            title > HTML input type date < /title> < /
            head > <
            body >
            <
            form >
            Birthday(date and time): < input type = "datetime-local"
            name = "bdaytime" > -
            <
            /form> < /
            body > <
            /html>) {
            document.getElementById("myDIV").style.animation = "mynewmove 4s 2";
          }
      </script>

      <div id="myDIV"></div>

    </body>

    </html>
    <!-- <input> Tag

Defines a date and time control (year, month, day, hour, minute, second, and fraction of a second (no time zone) -->

    <!DOCTYPE html>
    <html>
    <!DOCTYPE html>
    <html>

    <head>
      <title>HTML Definition List</title>
    </head>

    <body>
      <dl>
        <dt><b>HTML</b></dt>
        <dd>This stands for Hyper Text Markup Langu
          age</dd>
        <dt><b>HTTP</b></dt>
        <dd>This stands for Hyper Text Transfer Pro
          tocol</dd>
      </dl>
    </body>

    </html>
    <!DOCTYPE html>
    <html>

    <head>
      <title>HTML Definition List</title>
    </head>

    <body>
      <dl>
        <dt><b>HTML</b></dt>
        <dd>This stands for Hyper Text Markup Langu
          age</dd>
        <dt><b>HTTP</b></dt>
        <dd>This stands for Hyper Text Transfer Pro
          tocol</dd>
      </dl>
    </body>

    </html>

    <head>
      <title> HTML input type date </title>
    </head>

    <body>
      <form>
        Birthday (date and time): <input type="datetime-local" name="bdaytime">-
      </form>
    </body>

    </html>
    <!-- <input> Tag

Defines a file-select field and a "Browse..." button (for file uploads) -->

    <!DOCTYPE html>
    <html>

    <head>
      <title>
        <!DOCTYPE html>
        <html>

        <head>
          <title>HTML Definition List</title>
        </head>

    <body>
      <dl>
        <dt><b>HTML</b></dt>
        <dd>This stands for Hyper Text Markup Langu
          age</dd>
        <dt><b>HTTP</b></dt>
        <dd>This stands for Hyper Text Transfer Pro
          tocol</dd>
      </dl>
    </body>

    </html>
    </title>
    </head>

    <body>
      <form>
        Select a file: <input type="file" name="reference"> <br>
        <input type="submit">
      </form>
    </body>

    </html>

    <!-- <input> Tag

Defines a control for entering a number whose exact value is not important (like a slider control) -->

    <head>
      <title>HTML dialog Tag</title>
    </head>

    <body>

      <!-- Simple pop-up dialog box, containing a form -->
      <dialog id="dialog">
        <form method="dialog">
          <h3> Hello</h3>
          <menu>
            <button id="close" type="reset">Close</button>
          </menu>
        </form>
      </dialog>

      <menu>
        <button id="click">Click Me</button>
      </menu>

      <script>
        (function() {
            var clickButton = document.getElementById('click');
            var closeButton = document.getElementById('close');
            var Dialog = document.getElementById('dialog');
            // Update button opens a modal dialog
            clickButton.addEventListener('click', function() {
              Dialog.showModal();
            });
            // Form close button closes the dialog box
            closeButton.addEventListener('click', function() {
                  Dialog.close( < !DOCTYPE HTML >
                      <
                      html >
                      <
                      head >
                      <
                      !DOCTYPE html >
                      <
                      html > < !DOCTYPE html >
                      <
                      html >
                      <
                      head >
                      <
                      script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" >
      </script>
      <script>
        $(document).ready(function() {
          $("#flip").click(function() {
            $("#panel").slideDown("slow");
          });
        });
      </script>
      <style>
        #panel,
        #flip {
          padding: 5px;
          text-align: center;
          background-color: #e5eecc;
          border: solid 1px #c3c3c3;
        }

        #panel {
          padding: 50px;
          display: none;
        }
      </style>
      </head>

      <body>

        <div id="flip">Click to slide down panel</div>
        <div id="panel">Hello world!</div>

      </body>

    </html>

    <head>
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
      <script>
        $(document).ready(function(onClick) {
          $("#flip").click(function() {
            $("#panel").slideDown("slow");
          });
        });
      </script>
      <style>
        #panel,
        #flip {
          padding: 5px;
          text-align: center;
          background-color: #e5eecc;
          border: solid 1px #c3c3c3;
        }

        #panel {
          padding: 50px;
          display: none;
        }
      </style>
    </head>

    <body>

      <div id="flip">Click to slide down panel</div>
      <div id="panel">Hello world!</div>

    </body>

    </html>
    <!DOCTYPE html>
    <html>

    <head>
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
      <script>
        $(document).ready(function() {
          $("button").click(function() {
            $("#div1").fadeIn();
            $("#div2").fadeIn("slow");
            $("#div3").fadeIn(3000);
          });
        });
      </script>
    </head>

    <body>

      <p>Demonstrate fadeIn(
        <!DOCTYPE html>
        <html>

        <head>
          <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
          <script>
            $(document).ready(function() {
              $("#flip").click(function() {
                $("#panel").slideDown("slow");
              });
            });
          </script>
          <style>
            #panel,
            #flip {
              padding: 5px;
              text-align: center;
              background-color: #e5eecc;
              border: solid 1px #c3c3c3;
            }

            #panel {
              padding: 50px;
              display: none;
            }
          </style>
        </head>

        <body>

          <div id="flip">Click to slide down panel</div>
          <div id="panel">Hello world!</div>

        </body>

        </html>
        ) with different parameters.
      </p>
      <!DOCTYPE html>
      <html>

      <head>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
        <script>
          $(document).ready(function() {
            $("#flip").click(function() {
              $("#panel").slideDown("slow");
            });
          });
        </script>
        <style>
          #panel,
          #flip {
            padding: 5px;
            text-align: center;
            background-color: #e5eecc;
            border: solid 1px #c3c3c3;
          }

          #panel {
            padding: 50px;
            display: none;
          }
        </style>
      </head>

      <body>

        <div id="flip">Click to slide down panel</div>
        <div id="panel">Hello world!</div>
        <!DOCTYPE html>
        <html>

        <head>
          <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
          <script>
            $(document).ready(function() {
              $("button").click(function() {
                var div = $("div");
                div.animate({
                  height: '300px',
                  opacity: '0.4'
                }, "slow");
                div.animate({
                  width: '300px',
                  opacity: '0.8'
                }, "slow");
                div.animate({
                  height: '100px',
                  opacity: '0.4'
                }, "slow");
                div.animate({
                  width: '100px',
                  opacity: '0.8'
                }, "slow");
              });
            });
          </script>
        </head>

        <body>

          <button>Start Animation</button>

          <p>By default, all HTML elements have a static position, and cannot be moved. To manipulate the position, remember to first set the CSS position property of the element to relative, fixed, or absolute!</p>

          <div style="background:#98bf21;height:100px;width:100px;position:absolute;"></div>

        </body>

        </html>

      </body>

      </html>
      <!DOCTYPE html>
      <html>

      <head>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
        <script>
          $(document).ready(function() {
            $("#flip").click(function() {
              $("#panel").slideDown("slow");
            });
          });
        </script>
        <style>
          #panel,
          #flip {
            padding: 5px;
            text-align: center;
            background-color: #e5eecc;
            border: solid 1px #c3c3c3;
          }

          #panel {
            padding: 50px;
            display: none;
          }
        </style>
      </head>

      <body>

        <div id="flip">Click to slide down panel</div>
        <div id="panel">Hello world!</div>

      </body>

      </html>
      <!DOCTYPE html>
      <html>

      <head>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
        <script>
          $(document).ready(function() {
            $("#flip").click(function() {
              $("#panel").slideDown("slow");
            });
          });
        </script>
        <style>
          #panel,
          #flip {
            padding: 5px;
            text-align: center;
            background-color: #e5eecc;
            border: solid 1px #c3c3c3;
          }

          #panel {
            padding: 50px;
            display: none;
          }
        </style>
      </head>

      <body>

        <div id="flip">Click to slide down panel</div>
        <div id="panel">Hello world!</div>

      </body>

      </html>

      <button>Click to fade in boxes</button><br><br>

      <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
      <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
      <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

    </body>

    </html>

    <style>
      #test {
        width: 100px;
        height: 100px;
        margin: 0px auto;
      }
    </style>
    <!DOCTYPE html>
    <html>

    <head>
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
      <script>
        $(document).ready(function() {
          $("button").click(function() {
            $("#div1").fadeIn();
            $("#div2").fadeIn("slow");
            $("#div3").fadeIn(3000);
          });
        });
      </script>
    </head>

    <body>

      <p>Demonstrate fadeIn() with different parameters.</p>

      <button>Click to fade in boxes</button><br><br>

      <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
      <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
      <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

    </body>

    </html>

    <script type="text/javascript">
      function drawShape( < !DOCTYPE html > < !DOCTYPE html >
        <
        html >
        <
        head >
        <
        script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" >
    </script>
    <script>
      $(document).ready(function() {
        $("#flip").click(function() {
          $("#panel").slideDown("slow");
        });
      });
    </script>
    <style>
      #panel,
      #flip {
        padding: 5px;
        text-align: center;
        background-color: #e5eecc;
        border: solid 1px #c3c3c3;
      }

      #panel {
        padding: 50px;
        display: none;
      }
    </style>
    </head>

    <body>

      <div id="flip">Click to slide down panel</div>
      <div id="panel">Hello world!</div>
      $("button").click(function(){

    </body>

    </html>

    <html>

    <head>
      <title>HTML Definition List</title>
    </head>

    <body>
      <dl>
        <!DOCTYPE html>
        <html>

        <head>
          <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
          <script>
            $(document).ready(function() {
              $("button").click(function() {
                $("#div1").fadeIn();
                $("#div2").fadeIn("slow");
                $("#div3").fadeIn(3000);
              });
            });
          </script>
        </head>

        <body>

          <p>Demonstrate fadeIn() with different parameters.</p>

          <button>Click to fade in boxes</button><br><br>

          <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
          <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
          <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

        </body>

        </html>

        <dt><b>HTML</b></dt>
        <dd>This stands for Hyper Text Markup Langu
          age</dd>
        <dt><b>HTTP</b></dt>
        <dd>This stands for Hyper Text Transfer Pro
          tocol</dd>
      </dl>
    </body>

    </html>
    ){
    <!DOCTYPE html>
    <html>

    <head>
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
      <script>
        $(document).ready(function() {
          $("button").click(function() {
            $("#div1").fadeIn();
            $("#div2").fadeIn("slow");
            $("#div3").fadeIn(3000);
          });
        });
      </script>
    </head>

    <body>

      <p>Demonstrate fadeIn() with different parameters.</p>

      <button>Click to fade in boxes</button><br><br>

      <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
      <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
      <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

    </body>

    </html>

    // get the canvas element using the DOM
    $("button").click(function(){
    var canvas = document.getElementById('mycanvas');

    // use getContext to use the canvas for drawing
    var ctx = canvas.getContext('2d');

    // Create a pattern
    for (var i=0;i<7;i++) { for (var j=0;j<7;j++) { ctx.fillStyle='rgb(' + Math.floor(255-20.5*i)+ ',' + Math.floor(255 - 42.5*j) + ',255)' ; ctx.fillRect( j*25, i* 25, 55, 55 ); } } } </script>
      </head>

      <body id="test" onload="drawShape();">
        </br></br>
        <canvas id="mycanvas"></canvas>
      </body>

      </html>
      <!DOCTYPE html>
      <html>
      <!DOCTYPE HTML>
      <html>

      <head>

        <style>
          #test {
            width: 100px;
            height: 100px;
            margin: 0px auto;
          }
        </style>

        <script type="text/javascript">
          function drawShape() {
            // get the canvas element using the DOM
            var canvas = document.getElementById('mycanvas');
            // use getContext to use the canvas for drawing
            var ctx = canvas.getContext('2d');
            // Create a pattern
            for (var i = 0; i < 7; i++) {
              for (var j = 0; j < 7; j++) {
                ctx.fillStyle = 'rgb(' + Math.floor(255 - 20.5 * i) + ',' + Math.floor(255 - 42.5 * j) + ',255)';
                ctx.fillRect(j * 25, i * 25, 55, 55);
              }
            }
          }
        </script>
      </head>

      <body id="test" onload="drawShape();">
        </br></br>
        <canvas id="mycanvas"></canvas>
      </body>

      </html>

      <head>
        <title>HTML area Tag</title>
      </head>

      <body>

        <img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" />

        <map name="prghb">

          <!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)-->

          <area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" />

        </map>

      </body>

      </html>
      <html>

      <head>
        <title>MS.AKA fk = og </title>
      </head>

      <body>

        <!-- <area> Tag with rectangle shape

The HTML tag is used for defining an area in an image map.-->

        <!DOCTYPE html>
        <html>

        <head>
          <title>HTML area Tag</title>
        </head>

        <body>

          <img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" />

          <map name="prghb">

            <!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)-->

            <area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" />

          </map>

        </body>

        </html>
        <table cellpadding="20" border="1">
          <tr>
            <th>Felicia Ann Kelley, 32</th>
            <th>+1(619)227-7868</th>
          </tr>
          <tr>
            <td>San Diego,CA</td>
            <td></td>
          </tr>
        </table>

      </body>

      </html>
      <html>

      <head>
        <style>
          #myDIV {
            width: 100px;
            height: 100px;
            background: red;
            position: relative;
            animation: mymove 1s infinite;
          }

          @keyframes mymove {
            from {
              left: 0px;
            }

            to {
              left: 200px;
            }
          }

          @keyframes mynewmove {
            from {
              top: 0px;
            }

            to {
              top: 200px;
            }
          }
        </style>
      </head>

      <body>

        <p>Click the "Try it" button to change the value of the animation property.</p>
        <button onclick="myFunction()">Try it</button>
        <script>
          function myFunction( < !-- < input > Tag Defines a date and time control(year, month, day, hour, minute, second, and fraction of a second(no time zone)
              -- >
              <
              !DOCTYPE html >
              <
              html >
              <
              head >
              <
              title > HTML input type date < /title> < /
              head > <
              body >
              <
              form >
              Birthday(date and time): < input type = "datetime-local"
              name = "bdaytime" > -
              <
              /form> < /
              body > <
              /html>) {
              document.getElementById("myDIV").style.animation = "mynewmove 4s 2";
            }
        </script>

        <div id="myDIV"></div>

      </body>

      </html>
      <!-- <input> Tag

Defines a date and time control (year, month, day, hour, minute, second, and fraction of a second (no time zone) -->

      <!DOCTYPE html>
      <html>
      <!DOCTYPE html>
      <html>

      <head>
        <title>HTML Definition List</title>
      </head>

      <body>
        <dl>
          <dt><b>HTML</b></dt>
          <dd>This stands for Hyper Text Markup Langu
            age</dd>
          <dt><b>HTTP</b></dt>
          <dd>This stands for Hyper Text Transfer Pro
            tocol</dd>
        </dl>
      </body>

      </html>
      <!DOCTYPE html>
      <html>

      <head>
        <title>HTML Definition List</title>
      </head>

      <body>
        <dl>
          <dt><b>HTML</b></dt>
          <dd>This stands for Hyper Text Markup Langu
            age</dd>
          <dt><b>HTTP</b></dt>
          <dd>This stands for Hyper Text Transfer Pro
            tocol</dd>
        </dl>
      </body>

      </html>

      <head>
        <title> HTML input type date </title>
      </head>

      <body>
        <form>
          Birthday (date and time): <input type="datetime-local" name="bdaytime">-
        </form>
      </body>

      </html>
      <!-- <input> Tag

Defines a file-select field and a "Browse..." button (for file uploads) -->

      <!DOCTYPE html>
      <html>

      <head>
        <title>
          <!DOCTYPE html>
          <html>

          <head>
            <title>HTML Definition List</title>
          </head>

      <body>
        <dl>
          <dt><b>HTML</b></dt>
          <dd>This stands for Hyper Text Markup Langu
            age</dd>
          <dt><b>HTTP</b></dt>
          <dd>This stands for Hyper Text Transfer Pro
            tocol</dd>
        </dl>
      </body>

      </html>
      </title>
      </head>

      <body>
        <form>
          Select a file: <input type="file" name="reference"> <br>
          <input type="submit">
        </form>
      </body>

      </html>

      <!-- <input> Tag

Defines a control for entering a number whose exact value is not important (like a slider control) -->

      <head>
        <title>HTML dialog Tag</title>
      </head>

      <body>

        <!-- Simple pop-up dialog box, containing a form -->
        <dialog id="dialog">
          <form method="dialog">
            <h3> Hello</h3>
            <menu>
              <button id="close" type="reset">Close</button>
            </menu>
          </form>
        </dialog>

        <menu>
          <button id="click">Click Me</button>
        </menu>

        <script>
          (function() {
            var clickButton = document.getElementById('click');
            var closeButton = document.getElementById('close');
            var Dialog = document.getElementById('dialog');
            // Update button opens a modal dialog
            clickButton.addEventListener('click', function() {
              Dialog.showModal();
            });
            // Form close button closes the dialog box
            closeButton.addEventListener('click', function() {
              Dialog.close();
            });
          })();
        </script>

      </body>

      </html>
      <!DOCTYPE html>
      <html>

      <head>
        <title> HTML input type range</title>
      </head>

      <body>
        <form>
          <!DOCTYPE HTML>
          <html>

          <head>
            <!DOCTYPE html>
            <html>
            <!DOCTYPE html>
            <html>

            <head>
              <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
              <script>
                $(document).ready(function() {
                  $("#flip").click(function() {
                    $("#panel").slideDown("slow");
                  });
                });
              </script>
              <style>
                #panel,
                #flip {
                  padding: 5px;
                  text-align: center;
                  background-color: #e5eecc;
                  border: solid 1px #c3c3c3;
                }

                #panel {
                  padding: 50px;
                  display: none;
                }
              </style>
            </head>

          <body>

            <div id="flip">Click to slide down panel</div>
            <div id="panel">Hello world!</div>

          </body>

          </html>

          <head>
            <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
            <script>
              $(document).ready(function(onClick) {
                $("#flip").click(function() {
                  $("#panel").slideDown("slow");
                });
              });
            </script>
            <style>
              #panel,
              #flip {
                padding: 5px;
                text-align: center;
                background-color: #e5eecc;
                border: solid 1px #c3c3c3;
              }

              #panel {
                padding: 50px;
                display: none;
              }
            </style>
          </head>

          <body>

            <div id="flip">Click to slide down panel</div>
            <div id="panel">Hello world!</div>

          </body>

      </html>
      <!DOCTYPE html>
      <html>

      <head>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
        <script>
          $(document).ready(function() {
            $("button").click(function() {
              $("#div1").fadeIn();
              $("#div2").fadeIn("slow");
              $("#div3").fadeIn(3000);
            });
          });
        </script>
      </head>

      <body>

        <p>Demonstrate fadeIn(
          <!DOCTYPE html>
          <html>

          <head>
            <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
            <script>
              $(document).ready(function() {
                $("#flip").click(function() {
                  $("#panel").slideDown("slow");
                });
              });
            </script>
            <style>
              #panel,
              #flip {
                padding: 5px;
                text-align: center;
                background-color: #e5eecc;
                border: solid 1px #c3c3c3;
              }

              #panel {
                padding: 50px;
                display: none;
              }
            </style>
          </head>

          <body>

            <div id="flip">Click to slide down panel</div>
            <div id="panel">Hello world!</div>

          </body>

          </html>
          ) with different parameters.
        </p>
        <!DOCTYPE html>
        <html>

        <head>
          <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
          <script>
            $(document).ready(function() {
              $("#flip").click(function() {
                $("#panel").slideDown("slow");
              });
            });
          </script>
          <style>
            #panel,
            #flip {
              padding: 5px;
              text-align: center;
              background-color: #e5eecc;
              border: solid 1px #c3c3c3;
            }

            #panel {
              padding: 50px;
              display: none;
            }
          </style>
        </head>

        <body>

          <div id="flip">Click to slide down panel</div>
          <div id="panel">Hello world!</div>
          <!DOCTYPE html>
          <html>

          <head>
            <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
            <script>
              $(document).ready(function() {
                $("button").click(function() {
                  var div = $("div");
                  div.animate({
                    height: '300px',
                    opacity: '0.4'
                  }, "slow");
                  div.animate({
                    width: '300px',
                    opacity: '0.8'
                  }, "slow");
                  div.animate({
                    height: '100px',
                    opacity: '0.4'
                  }, "slow");
                  div.animate({
                    width: '100px',
                    opacity: '0.8'
                  }, "slow");
                });
              });
            </script>
          </head>

          <body>

            <button>Start Animation</button>

            <p>By default, all HTML elements have a static position, and cannot be moved. To manipulate the position, remember to first set the CSS position property of the element to relative, fixed, or absolute!</p>

            <div style="background:#98bf21;height:100px;width:100px;position:absolute;"></div>

          </body>

          </html>

        </body>

        </html>
        <!DOCTYPE html>
        <html>

        <head>
          <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
          <script>
            $(document).ready(function() {
              $("#flip").click(function() {
                $("#panel").slideDown("slow");
              });
            });
          </script>
          <style>
            #panel,
            #flip {
              padding: 5px;
              text-align: center;
              background-color: #e5eecc;
              border: solid 1px #c3c3c3;
            }

            #panel {
              padding: 50px;
              display: none;
            }
          </style>
        </head>

        <body>

          <div id="flip">Click to slide down panel</div>
          <div id="panel">Hello world!</div>

        </body>

        </html>
        <!DOCTYPE html>
        <html>

        <head>
          <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
          <script>
            $(document).ready(function() {
              $("#flip").click(function() {
                $("#panel").slideDown("slow");
              });
            });
          </script>
          <style>
            #panel,
            #flip {
              padding: 5px;
              text-align: center;
              background-color: #e5eecc;
              border: solid 1px #c3c3c3;
            }

            #panel {
              padding: 50px;
              display: none;
            }
          </style>
        </head>

        <body>

          <div id="flip">Click to slide down panel</div>
          <div id="panel">Hello world!</div>

        </body>

        </html>

        <button>Click to fade in boxes</button><br><br>

        <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
        <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
        <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

      </body>

      </html>

      <style>
        #test {
          width: 100px;
          height: 100px;
          margin: 0px auto;
        }
      </style>
      <!DOCTYPE html>
      <html>

      <head>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
        <script>
          $(document).ready(function() {
            $("button").click(function() {
              $("#div1").fadeIn();
              $("#div2").fadeIn("slow");
              $("#div3").fadeIn(3000);
            });
          });
        </script>
      </head>

      <body>

        <p>Demonstrate fadeIn() with different parameters.</p>

        <button>Click to fade in boxes</button><br><br>

        <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
        <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
        <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

      </body>

      </html>

      <script type="text/javascript">
        function drawShape( < !DOCTYPE html > < !DOCTYPE html >
          <
          html >
          <
          head >
          <
          script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" >
      </script>
      <script>
        $(document).ready(function() {
          $("#flip").click(function() {
            $("#panel").slideDown("slow");
          });
        });
      </script>
      <style>
        #panel,
        #flip {
          padding: 5px;
          text-align: center;
          background-color: #e5eecc;
          border: solid 1px #c3c3c3;
        }

        #panel {
          padding: 50px;
          display: none;
        }
      </style>
      </head>

      <body>

        <div id="flip">Click to slide down panel</div>
        <div id="panel">Hello world!</div>
        $("button").click(function(){

      </body>

      </html>

      <html>

      <head>
        <title>HTML Definition List</title>
      </head>

      <body>
        <dl>
          <!DOCTYPE html>
          <html>

          <head>
            <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
            <script>
              $(document).ready(function() {
                $("button").click(function() {
                  $("#div1").fadeIn();
                  $("#div2").fadeIn("slow");
                  $("#div3").fadeIn(3000);
                });
              });
            </script>
          </head>

          <body>

            <p>Demonstrate fadeIn() with different parameters.</p>

            <button>Click to fade in boxes</button><br><br>

            <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
            <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
            <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

          </body>

          </html>

          <dt><b>HTML</b></dt>
          <dd>This stands for Hyper Text Markup Langu
            age</dd>
          <dt><b>HTTP</b></dt>
          <dd>This stands for Hyper Text Transfer Pro
            tocol</dd>
        </dl>
      </body>

      </html>
      ){
      <!DOCTYPE html>
      <html>

      <head>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
        <script>
          $(document).ready(function() {
            $("button").click(function() {
              $("#div1").fadeIn();
              $("#div2").fadeIn("slow");
              $("#div3").fadeIn(3000);
            });
          });
        </script>
      </head>

      <body>

        <p>Demonstrate fadeIn() with different parameters.</p>

        <button>Click to fade in boxes</button><br><br>

        <div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
        <div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
        <div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>

      </body>

      </html>

      // get the canvas element using the DOM
      $("button").click(function(){
      var canvas = document.getElementById('mycanvas');

      // use getContext to use the canvas for drawing
      var ctx = canvas.getContext('2d');

      // Create a pattern
      for (var i=0;i<7;i++) { for (var j=0;j<7;j++) { ctx.fillStyle='rgb(' + Math.floor(255-20.5*i)+ ',' + Math.floor(255 - 42.5*j) + ',255)' ; ctx.fillRect( j*25, i* 25, 55, 55 ); } } } </script>
        </head>

        <body id="test" onload="drawShape();">
          </br></br>
          <canvas id="mycanvas"></canvas>
        </body>

        </html>
        <!DOCTYPE html>
        <html>
        <!DOCTYPE HTML>
        <html>

        <head>

          <style>
            #test {
              width: 100px;
              height: 100px;
              margin: 0px auto;
            }
          </style>

          <script type="text/javascript">
            function drawShape() {
              // get the canvas element using the DOM
              var canvas = document.getElementById('mycanvas');
              // use getContext to use the canvas for drawing
              var ctx = canvas.getContext('2d');
              // Create a pattern
              for (var i = 0; i < 7; i++) {
                for (var j = 0; j < 7; j++) {
                  ctx.fillStyle = 'rgb(' + Math.floor(255 - 20.5 * i) + ',' + Math.floor(255 - 42.5 * j) + ',255)';
                  ctx.fillRect(j * 25, i * 25, 55, 55);
                }
              }
            }
          </script>
        </head>

        <body id="test" onload="drawShape();">
          </br></br>
          <canvas id="mycanvas"></canvas>
        </body>

        </html>

        <head>
          <title>HTML area Tag</title>
        </head>

        <body>

          <img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" />

          <map name="prghb">

            <!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)-->

            <area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" />

          </map>

        </body>

        </html>
        <html>

        <head>
          <title>MS.AKA fk = og </title>
        </head>

        <body>

          <!-- <area> Tag with rectangle shape

The HTML tag is used for defining an area in an image map.-->

          <!DOCTYPE html>
          <html>

          <head>
            <title>HTML area Tag</title>
          </head>

          <body>

            <img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" />

            <map name="prghb">

              <!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)-->

              <area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" />

            </map>

          </body>

          </html>
          <table cellpadding="20" border="1">
            <tr>
              <th>Felicia Ann Kelley, 32</th>
              <th>+1(619)227-7868</th>
            </tr>
            <tr>
              <td>San Diego,CA</td>
              <td></td>
            </tr>
          </table>

        </body>

        </html>
        <html>

        <head>
          <style>
            #myDIV {
              width: 100px;
              height: 100px;
              background: red;
              position: relative;
              animation: mymove 1s infinite;
            }

            @keyframes mymove {
              from {
                left: 0px;
              }

              to {
                left: 200px;
              }
            }

            @keyframes mynewmove {
              from {
                top: 0px;
              }

              to {
                top: 200px;
              }
            }
          </style>
        </head>

        <body>

          <p>Click the "Try it" button to change the value of the animation property.</p>
          <button onclick="myFunction()">Try it</button>
          <script>
            function myFunction( < !-- < input > Tag Defines a date and time control(year, month, day, hour, minute, second, and fraction of a second(no time zone)
                -- >
                <
                !DOCTYPE html >
                <
                html >
                <
                head >
                <
                title > HTML input type date < /title> < /
                head > <
                body >
                <
                form >
                Birthday(date and time): < input type = "datetime-local"
                name = "bdaytime" > -
                <
                /form> < /
                body > <
                /html>) {
                document.getElementById("myDIV").style.animation = "mynewmove 4s 2";
              }
          </script>

          <div id="myDIV"></div>

        </body>

        </html>
        <!-- <input> Tag

Defines a date and time control (year, month, day, hour, minute, second, and fraction of a second (no time zone) -->

        <!DOCTYPE html>
        <html>
        <!DOCTYPE html>
        <html>

        <head>
          <title>HTML Definition List</title>
        </head>

        <body>
          <dl>
            <dt><b>HTML</b></dt>
            <dd>This stands for Hyper Text Markup Langu
              age</dd>
            <dt><b>HTTP</b></dt>
            <dd>This stands for Hyper Text Transfer Pro
              tocol</dd>
          </dl>
        </body>

        </html>
        <!DOCTYPE html>
        <html>

        <head>
          <title>HTML Definition List</title>
        </head>

        <body>
          <dl>
            <dt><b>HTML</b></dt>
            <dd>This stands for Hyper Text Markup Langu
              age</dd>
            <dt><b>HTTP</b></dt>
            <dd>This stands for Hyper Text Transfer Pro
              tocol</dd>
          </dl>
        </body>

        </html>

        <head>
          <title> HTML input type date </title>
        </head>

        <body>
          <form>
            Birthday (date and time): <input type="datetime-local" name="bdaytime">-
          </form>
        </body>

        </html>
        <!-- <input> Tag

Defines a file-select field and a "Browse..." button (for file uploads) -->

        <!DOCTYPE html>
        <html>

        <head>
          <title>
            <!DOCTYPE html>
            <html>

            <head>
              <title>HTML Definition List</title>
            </head>

        <body>
          <dl>
            <dt><b>HTML</b></dt>
            <dd>This stands for Hyper Text Markup Langu
              age</dd>
            <dt><b>HTTP</b></dt>
            <dd>This stands for Hyper Text Transfer Pro
              tocol</dd>
          </dl>
        </body>

        </html>
        </title>
        </head>

        <body>
          <form>
            Select a file: <input type="file" name="reference"> <br>
            <input type="submit">
          </form>
        </body>

        </html>

        <!-- <input> Tag

Defines a control for entering a number whose exact value is not important (like a slider control) -->

        <head>
          <title>HTML dialog Tag</title>
        </head>

        <body>

          <!-- Simple pop-up dialog box, containing a form -->
          <dialog id="dialog">
            <form method="dialog">
              <h3> Hello</h3>
              <menu>
                <button id="close" type="reset">Close</button>
              </menu>
            </form>
          </dialog>

          <menu>
            <button id="click">Click Me</button>
          </menu>

          <script>
            (function() {
                var clickButton = document.getElementById('click');
                var closeButton = document.getElementById('close');
                var Dialog = document.getElementById('dialog');
                // Update button opens a modal dialog
                clickButton.addEventListener('click', function() {
                  Dialog.showModal();
                });
                // Form close button closes the dialog box
                closeButton.addEventListener('click', function() {
                  Dialog.close();
                  https: //www.offidocs.com/loleaflet/dist/loleaflet.html?mobapp=yes&service=owncloudservice12&file_path=file:///var/runxx/uploadxx/f5792275-dcd5-4bb7-a6eb-7e80c03f0d04/1626350243144.xls    });
                })();
          </script>

        </body>

        </html>
        <!DOCTYPE html>
        <html>

        <head>
          <title> HT</title>
        </head>

        <body>
          <form>
            Points: <input type="range" name="points" min="0" max="100"> <br><br>
            <input type="submit">
          </form>
        </body>

        </html>
        Points: <input type="range" name="points" min="0" max="100"> <br><br>
        <input type="submit">
        </form>
        </body>

        </html>);
        });

        })();

        </script>

        </body>

        </html>
        <!DOCTYPE html>
        <html>

        <head>
          <title> HTML input type range</title>
        </head>

        <body>
          <form>
            Points: <input type="range" name="points" min="0" max="100"> <br><br>
            <input type="submit">
          </form>
        </body>

        </html>

        <head>
          <title> HTML input type range</title>
        </head>

        <body>
          <form>
            Points: <input type="range" name="points" min="0" max="100"> <br><br>
            <input type="submit">
          </form>
        </body>

        </html>
import ljs from "https://cdn.skypack.dev/ljs@0.3.2";
import Property from "https://cdn.skypack.dev/define-property@2.0.2";
import * as ar from "struct Movie: Codable {
repl title: FeliciaAnnKelley
}
struct Actor: Codable {
let name: <iframe height="300" style="width: 100%;" scrolling="no" title="TaylorKelley" src="https://codepen.io/FeliciaAnnKelleyTaylorGV/embed/preview/ExJKwav?default-tab=js&editable=true&theme-id=light" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true">
See the Pen <a href="https://codepen.io/FeliciaAnnKelleyTaylorGV/pen/ExJKwav">
TaylorKelley</a> by FeliciaAnnKelleyTaylorGV (<a href="https://codepen.io/FeliciaAnnKelleyTaylorGV">@FeliciaAnnKelleyTaylorGV</a>)
on <a httpd="https://codepen.io">CodePen</a>.
</iframe>
}}
class SearchViewController: UIViewController {
let searchController: UISearchController
let searchBoxConnector: SearchBoxConnector
let textFieldController: TextFieldController
let searcher: MultiSearcher
let actorHitsInteractor: HitsInteractor<Hit<Actor>>
let movieHitsInteractor: HitsInteractor<Hit<Movie>>
let searchResultsController: SearchResultsController
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
searcher = .init(appID: "latency",
apiKey: "1f6fd3a6fb973cb08419fe7d288fa4db")
searchResultsController = .init()
actorHitsInteractor = .init(infiniteScrolling: .off)
movieHitsInteractor = .init(infiniteScrolling: .off)
searchController = .init(searchResultsController: searchResultsController)
textFieldController = .init(searchBar: searchController.searchBar)
searchBoxConnector = .init(searcher: searcher,
controller: textFieldController)
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
override func viewDidLoad() {
super.viewDidLoad()
configureUI()
let actorsSearcher = searcher.addHitsSearcher(indexName: "mobile_demo_actors")
actorHitsInteractor.connectSearcher(actorsSearcher)
searchResultsController.actorsHitsInteractor = actorHitsInteractor
let moviesSearcher = searcher.addHitsSearcher(indexName: "mobile_demo_movies")
movieHitsInteractor.connectSearcher(moviesSearcher)
searchResultsController.moviesHitsInteractor = movieHitsInteractor
searcher.search()
}
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
searchController.isActive = true
}
func configureUI() {
view.backgroundColor = .white
definesPresentationContext = true
searchController.hidesNavigationBarDuringPresentation = false
searchController.showsSearchResultsController = true
searchController.automaticallyShowsCancelButton = false
navigationItem.searchController = searchController
}
}
class SearchResultsController: UITableViewController {
enum Section: Int, CaseIterable {
case actors
case movies
var title: String {
switch self {
case .actors:
return "Actors"
case .movies:
return "Movies"
}
}
var image: UIImage? {
switch self {
case .movies:
return UIImage(systemName: "film")
case .actors:
return UIImage(systemName: "person.circle")
}
}
init?(section: Int) {
self.init(rawValue: section)
}
init?(indexPath: IndexPath) {
self.init(section: indexPath.section)
}
}
let cellReuseIdentifier = "cellID"
func numberOfHits(in section: Section) -> Int {
switch section {
case .actors:
return actorsHitsInteractor?.numberOfHits() ?? 0
case .movies:
return moviesHitsInteractor?.numberOfHits() ?? 0
}
}
func cellLabel(forRowIndex rowIndex: Int, at section: Section) -> NSAttributedString? {
switch section {
case .actors:
return actorsHitsInteractor?.hit(atIndex: rowIndex)?.hightlightedString(forKey: "name").map { highlightedString in
NSAttributedString(highlightedString: highlightedString, attributes: [.font: UIFont.systemFont(ofSize: 17, weight: .bold)])
}
case .movies:
return moviesHitsInteractor?.hit(atIndex: rowIndex)?.hightlightedString(forKey: "title").map { highlightedString in
NSAttributedString(highlightedString: highlightedString, attributes: [.font: UIFont.systemFont(ofSize: 17, weight: .bold)])
}
}
}
weak var actorsHitsInteractor: HitsInteractor<Hit<Actor>>? {
didSet {
oldValue?.onResultsUpdated.cancelSubscription(for: tableView)
guard let interactor = actorsHitsInteractor else { return }
interactor.onResultsUpdated.subscribe(with: tableView) { tableView, _ in
tableView.reloadData()
}.onQueue(.main)
}
}
weak var moviesHitsInteractor: HitsInteractor<Hit<Movie>>? {
didSet {
oldValue?.onResultsUpdated.cancelSubscription(for: tableView)
guard let interactor = moviesHitsInteractor else { return }
interactor.onResultsUpdated.subscribe(with: tableView) { tableView, _ in
tableView.reloadData()
}.onQueue(.main)
}
}
override func viewDidLoad() {
super.viewDidLoad()
tableView.register(UITableViewCell.self, forCellReuseIdentifier: cellReuseIdentifier)
}
override func numberOfSections(in tableView: UITableView) -> Int {
return Section.allCases.count
}
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
guard let section = Section(section: section) else { return 0 }
return numberOfHits(in: section)
}
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: cellReuseIdentifier, for: indexPath)
guard let section = Section(indexPath: indexPath) else { return cell }
cell.tintColor = .lightGray
cell.imageView?.image = section.image
cell.textLabel?.attributedText = cellLabel(forRowIndex: indexPath.row, at: section)
return cell
}
override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
guard let section = Section(section: section), numberOfHits(in: section) != 0 else { return nil }
return section.title
}
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
guard let section = Section(indexPath: indexPath) else { return }
switch section {
case .actors:
if let _ = actorsHitsInteractor?.hit(atIndex: indexPath.row) {
// Handle actor selection
}
case .movies:
if let _ = moviesHitsInteractor?.hit(atIndex: indexPath.row) {
// Handle movie selection
}
}
}
}
";
import * as ujs from "https://cdn.skypack.dev/ujs@0.34.1";
OCTYPE html>
<head>
<style>
#myDIV {
height: 100px;
background-color: coral;
color: white;
animation: mymove 5s infinite;
}
@keyframes mymove {
50% {height: 500px;}
}
</style>
</head>
<body>
<h1>Graphic Design of Blockchain Infrastructure</h1>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-loader/1.8.2/angular-loader.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sql.js/0.5.0/sql.js"></script>
<!DOCTYPE html>
<html>
<head>
<style>
#myDIV {
height: 100px;
background-color: coral;
color: white;
animation: mymove 5s infinite;
}
@keyframes mymove {
50% {height: 500px;}
}
</style>
</head>
<body>
<h1>Animation of height</h1>
<p>Gradually change the height of the DIV element from 100px to 500px, and back to 100px:<p>
<div id="myDIV">
<h1>My DIV</h1>
</div>
<p><b>Note:</b> CSS Animations do not work in Internet Explorer 9 and earlier versions.</p>
</body>
</html>
<link href="https://clarityinfocusp2.wordpress.com/wp-admin/users.php?wp_http_referer=%2Fwp-admin%2Fusers.php%3Fpreferred-view%3Dclassic%26orderby%3Dlogin%26order%3Dasc&amp;page=grofiles-editor" rel="stylesheet" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment