diff --git a/server.js b/server.js index c06f309..37a273b 100644 --- a/server.js +++ b/server.js @@ -225,7 +225,7 @@ Server.prototype.generateHomePage = function (req) { books = '
The shelf is empty. Would you like to add a book?
'; } - const body = '
' + books + '
'; + const body = '

Available Books

' + books + '
'; return this.fillTemplate('./templates/htmlContainer.html', { title: 'View', resourcePath: (req.url.substr(-1) === '/' ? '../' : './'), @@ -266,7 +266,7 @@ Server.prototype.generateHistoryPage = function (req) { history = '
No books have been taken yet. Would you like to take a book?
'; } - const body = '
' + history + '
'; + const body = '

History

' + history + '
'; return this.fillTemplate('./templates/htmlContainer.html', { title: 'History', resourcePath: (req.url.substr(-1) === '/' ? '../' : './'),