Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Add or Delete Items</title>
- <script src="https://code.jquery.com/jquery-3.0.0.min.js"></script>
- <script src="scripts/script.js"></script>
- <style>
- li a {display: none}
- li:hover a {display: inline}
- </style>
- </head>
- <body>
- <h1>List of Items</h1>
- <ul id="items">
- </ul>
- <input type="text" id="newItemText"/>
- <input type="button" value="Add" onclick="addItem()">
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement