info343/labs/7/urban.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
   <!--
   INFO 343 Autumn 2011, Morgan Doocy
   From CSE 190 M, Marty Stepp
   HTML code for Urban Dictionary lab (Ajax/XML)
   You do not need to modify this file.
   -->

   <head>
      <title>Urban Dictionary Lookup</title>

      <!-- stop the web browser from ever caching this page or its images -->
      <meta http-equiv="Cache-Control" content="no-cache" />
      <meta http-equiv="Pragma" content="no-cache" />
      <meta http-equiv="Expires" content="0" />

      <!-- provided CSS (no need to modify) -->
      <link href="http://info343.ischool.uw.edu/labs/7/urban.css" type="text/css" rel="stylesheet" />

      <!-- provided JS (no need to modify) -->
      <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
      
      <!-- you write this -->
      <script src="urban.js" type="text/javascript"></script>
   </head>
   
   <body>
      <h1>Urban Dictionary Lookup</h1>
      
      <div id="controls">
         Term:
         <input id="term" type="text" value="fnord" />
         <button id="lookup">Lookup</button>
      </div>
      
      <div id="result">
         <!-- definition will appear here -->
      </div>
   </body>
</html>