diff --git a/.glitch-assets b/.glitch-assets new file mode 100644 index 0000000..e69de29 diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..a54ac75 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,13 @@ +{ + "name": "cr-4241-a2-shortstack", + "version": "0.1.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "mime": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==" + } + } +} diff --git a/package.json b/package.json index 988f135..6a7ac75 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { - "name": "", - "version": "", - "description": "", - "author": "", + "name": "cr-4241-a2-shortstack", + "version": "0.1.0", + "description": "WPI CS 4241 second assignment", + "author": "Serena Mower", "scripts": { "start": "node server.improved.js" }, "dependencies": { - "mime": "^2.4.4" + "mime": "^2.6.0" } } diff --git a/public/css/style.css b/public/css/style.css index d5f842a..a234eba 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -1 +1,76 @@ -/*Style your own assignment! This is fun! */ \ No newline at end of file +/*Style your own assignment! This is fun! */ +@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap'); + +body { + text-align: center; + background-color: lightblue; + font-family: 'Courier Prime', monospace; + font-size: 20px; +} + +table { + text-align: left; + padding:2em; + color: black; + border: 2px solid black; + background-color: tan; + border-radius: 10px; +} + +input[type=text] { + background:transparent; + border: none; + border-bottom: 2px solid #000000; +} + +button { + transition-duration: 0.4s; + border-radius: 5px; + border-color: transparent; +} + +button:hover { + background-color: darkgray; + color:gray; +} + +.inputData { + margin-left: auto; + margin-right: auto; + text-align: left; + border-radius: 10px; + padding:2em; + color: black; +} + +.description { + margin-top:auto; + margin-bottom:auto; + width: 50em; + display: inline-block; +} + +.grid-container { + display: inline-grid +} + +.bookEntry { + color: black; + border: 2px solid black; + padding: 5px; + text-align: center; + +} + +#submitButton { + text-align: right; +} + +#currentData { + margin-left: auto; + margin-right: auto; + border: 20px; + border-collapse:collapse; +} + + diff --git a/public/index.html b/public/index.html index c56d620..463eec1 100644 --- a/public/index.html +++ b/public/index.html @@ -3,39 +3,54 @@
Welcome to Your Little Library! Keep track of all your books with this helpful website!
+Book ID | Title | Author | Acquired Date | Read Yet? | Read Next Number |
---|