add tag search

add top rating sort
add star localstorage
This commit is contained in:
Kara Hoagland
2022-11-29 20:51:45 -08:00
parent eb4cb54b05
commit a65b65d748
7 changed files with 124 additions and 13 deletions

View File

@@ -99,8 +99,9 @@ function setupUpdate(){
while (tagContainer.firstChild) {
tagContainer.removeChild(tagContainer.firstChild);
}
let tagSetVal = currReview["tags"][i].toLowerCase()
let tagSetVal;
for (let i = 0; i < currReview["tags"].length; i++) {
tagSetVal = currReview["tags"][i].toLowerCase()
tagSet.add(tagSetVal);
let newTag = document.createElement("label");
newTag.setAttribute("class","tag");