Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.55 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.     <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  7.     <link
  8.      rel="stylesheet"
  9.      href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
  10.      integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
  11.      crossorigin="anonymous"
  12.    />
  13.     <script src="https://kit.fontawesome.com/0e9c040081.js"></script>
  14.     <title>BookListApp</title>
  15.   </head>
  16.   <body>
  17.     <div class="container mt-4">
  18.       <h1 class="display-4">
  19.         <i class="fas fa-book-open text-primary"></i>
  20.         My <span class="text-primary">Book </span>List
  21.       </h1>
  22.       <form id="book-form" method="POST" action="/books">
  23.         <div class="form-group">
  24.           <label for="author">Title</label>
  25.           <input name="title" type="text" id="title" class="form-control" />
  26.         </div>
  27.         <div class="form-group">
  28.           <label for="author">Author</label>
  29.           <input name="author" type="text" id="author" class="form-control" />
  30.         </div>
  31.         <div class="form-group">
  32.           <label for="author">ISBN#</label>
  33.           <input
  34.            name="isbnnumber"
  35.            type="text"
  36.            id="isbnnumber"
  37.            class="form-control"
  38.          />
  39.         </div>
  40.         <input
  41.          type="submit"
  42.          value="Add Book"
  43.          class="btn btn-primary btn-block"
  44.        />
  45.       </form>
  46.       <table class="table table-stripped mt-5">
  47.         <thead>
  48.           <tr>
  49.             <th>Title</th>
  50.             <th>Author</th>
  51.             <th>ISBN#</th>
  52.             <th></th>
  53.           </tr>
  54.         </thead>
  55.         <tbody id="book-list"></tbody>
  56.       </table>
  57.     </div>
  58.  
  59.     <script src="app.js"></script>
  60.  
  61.     <script
  62.      src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
  63.      integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
  64.      crossorigin="anonymous"
  65.    ></script>
  66.     <script
  67.      src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
  68.      integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
  69.      crossorigin="anonymous"
  70.    ></script>
  71.     <script
  72.      src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
  73.      integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
  74.      crossorigin="anonymous"
  75.    ></script>
  76.   </body>
  77. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement