fixed the update form, and update functionality, and formatted

Co-authored-by: Kara Hoagland <KH-Cl@users.noreply.github.com>
Co-authored-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
rheabhutada02
2022-11-21 15:27:45 -08:00
parent 123057f0f1
commit ec9d0246ca
4 changed files with 11 additions and 12 deletions

View File

@@ -87,7 +87,7 @@ class ReviewCard extends HTMLElement {
flex-flow: row wrap;
}
.tag {
.a-tag {
background-color:#94da97;
border-radius: 7px;
color: #94da97;
@@ -195,7 +195,7 @@ class ReviewCard extends HTMLElement {
if(data["tags"]){
for (let i = 0; i < data["tags"].length; i++) {
let newTag = document.createElement("label");
newTag.setAttribute("class","tag");
newTag.setAttribute("class","a-tag");
newTag.innerHTML = data["tags"][i];
tagContainer.append(newTag);
}