From 74f7e9225983b6ea521a1328238a5031c95eb057 Mon Sep 17 00:00:00 2001 From: Jacob Casper Date: Sat, 25 Apr 2020 14:32:55 -0500 Subject: [PATCH] Use datalist instead of home-rolled autocomplete --- frontend/index.css | 12 ------------ frontend/index.html | 4 +++- frontend/index.js | 25 ++++++++++--------------- 3 files changed, 13 insertions(+), 28 deletions(-) diff --git a/frontend/index.css b/frontend/index.css index 376f66e..23b3c15 100644 --- a/frontend/index.css +++ b/frontend/index.css @@ -1,15 +1,3 @@ -ul { - position: absolute; - display: none; -} -li { - display: block; - background-color: white; -} -li:hover { - background-color: black; - color: white; -} input#genre-submit { display: none; } diff --git a/frontend/index.html b/frontend/index.html index 8b9b3cb..a59706e 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -8,17 +8,19 @@
+