SHARE
TWEET

[HTML] Add/Delete Items (twoFiles)

LusienGG Jun 22nd, 2016 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>Add or Delete Items</title>
  6.     <script src="https://code.jquery.com/jquery-3.0.0.min.js"></script>
  7.     <script src="scripts/script.js"></script>
  8.     <style>
  9.         li a {display: none}
  10.         li:hover a {display: inline}
  11.     </style>
  12. </head>
  13. <body>
  14. <h1>List of Items</h1>
  15. <ul id="items">
  16. </ul>
  17. <input type="text" id="newItemText"/>
  18. <input type="button" value="Add" onclick="addItem()">
  19. </body>
  20. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top