wodpachua

html

Apr 1st, 2024
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Library Project</title>
  7. <link rel="stylesheet" href="./styles.css">
  8. <script src="./script.js" defer></script>
  9. </head>
  10. <body>
  11. <div class="grid-container">
  12. <div class="header-wrapper">
  13. <div class="header-cont">
  14. <div class="greeting">
  15. <img src="./assests/library.svg" alt="pic" class="pic">
  16. <div class="greet">Welcome!</div>
  17. <div class="message">Update Your Library</div>
  18. </div>
  19. <button class="add-book" type="button">Add Book</button>
  20. </div>
  21. </div>
  22. <div class="main-cont">
  23. <div class="books-cont">
  24. <div class="heading">Your Books</div>
  25. <div class="books-wrapper">
  26. <!-- <div class="book-card">
  27. <div class="book">
  28. <div>
  29. <div class="book-name">Mastery 1<hr></div>
  30. <div class="book-author">Robert Greene</div>
  31. </div>
  32. <div class="book-pages">Pages: <span class="pages">564</span></div>
  33. <div class="book-status">Status: <span class="status read">Read</span></div>
  34. </div>
  35. <div class="book-controls">
  36. <button class="delete-btn" type="button">
  37. <img src="./assests/delete.svg" alt="delete" class="delete-icon">
  38. </button>
  39. </div>
  40. </div> -->
  41. <!-- <div class="book-card">
  42. <div class="book">
  43. <div>
  44. <div class="book-name">Mastery 2<hr></div>
  45. <div class="book-author">Robert Greene</div>
  46. </div>
  47. <div class="book-pages">Pages: <span class="pages">564</span></div>
  48. <div class="book-status">Status: <span class="status">Not Read</span></div>
  49. </div>
  50. <div class="book-controls">
  51. <button class="delete-btn" type="button">
  52. <img src="./assests/delete.svg" alt="delete" class="delete-icon">
  53. </button>
  54. </div>
  55. </div> -->
  56.  
  57.  
  58. </div>
  59. <div class="message-alert">
  60. <div class="add-message">Book Added ✅</div>
  61. <div class="delete-message">Book Deleted ✅</div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. <div class="overlay-cont">
  67. <div class="form-cont" id="form-cont">
  68. <form class="add-book-form" id="addBookForm">
  69. <h3>Add New Book</h3>
  70. <input class="input" type="text" id="name" name="book-name" placeholder="Book Name" required maxlength="100">
  71. <input class="input" type="text" id="author" name="book-author" placeholder="Author" maxlength="100">
  72. <input class="input" type="number" id="pages" name="book-pages" placeholder="Pages" required max="10000">
  73. <div class="is-read">
  74. <label for="read">Already Read</label>
  75. <input class="checkbox" type="checkbox" id="read" name="read">
  76. </div>
  77. <button class="submit-btn" type="submit">Add to Library</button>
  78. </form>
  79. </div>
  80. </div>
  81. </body>
  82. </html>
Add Comment
Please, Sign In to add comment