Guest User

Timer HTML

a guest
May 1st, 2020
396
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en-US">
  3.  
  4. <head>
  5.     <meta charset="UTF-8">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1">
  7.     <title>Timed Typing Test App</title>
  8.     <script src="script.js" async></script>
  9.     <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700,700i,900,900i" type="text/css" media="all">
  10.     <link rel="stylesheet" href="style.css">
  11. </head>
  12.  
  13. <body>
  14.     <header class="masthead">
  15.         <h1>Test Your Typing Speed</h1>
  16.     </header>
  17.     <main class="main">
  18.         <article class="intro">
  19.             <p>This is a typing test. Your goal is to duplicate the provided text, EXACTLY, in the field below. The timer starts when you start typing, and only stops when you match this text exactly. Good Luck!</p>
  20.         </article><!-- .intro -->
  21.         <section class="test-area">
  22.             <div id="origin-text">
  23.                 <p>The text to test.</p>
  24.             </div><!-- #origin-text -->
  25.  
  26.             <div class="test-wrapper">
  27.                 <textarea id="test-area" name="textarea" rows="6" placeholder="The clock starts when you start typing."></textarea>
  28.             </div><!-- .test-wrapper -->
  29.  
  30.             <div class="meta">
  31.                 <section id="clock">
  32.                     <div id="timer">00:00:00</div>
  33.                 </section>
  34.  
  35.                 <button id="reset">Start over</button>
  36.             </div><!-- .meta -->
  37.         </section><!-- .test-area -->
  38.     </main>
  39.  
  40. </body>
  41.  
  42. </html>
RAW Paste Data Copied