Advertisement
Guest User

HTML - Lesson 9. Task List

a guest
Mar 13th, 2025
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.66 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.   <head>
  4.     <meta charset="utf-8" />
  5.     <meta name="viewport" content="width=device-width, initial-scale=1" />
  6.     <title>TODO List</title>
  7.     <link rel="stylesheet" href="style.css" />
  8.     <script src="script.js" defer></script>
  9.   </head>
  10.   <body>
  11.     <div id="addElement">
  12.       <h1>Shopping List</h1>
  13.  
  14.       <input id="element" type="text" maxlength="25" />
  15.       <button id="addButton">Add Product</button>
  16.       <button id="printButton">Print</button>
  17.  
  18.       <p id="message"></p>
  19.     </div>
  20.     <div id="forPrinting">
  21.       <div id="listContainer">
  22.         <ol id="taskList"></ol>
  23.       </div>
  24.     </div>
  25.   </body>
  26. </html>
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement