moved all the icons to images and fixed path issues associated with this move
| Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB | 
| Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB | 
| Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB | 
| Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB | 
| Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB | 
| Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB | 
| Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB | 
| Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB | 
| Before Width: | Height: | Size: 311 KiB After Width: | Height: | Size: 311 KiB | 
| Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB | 
							
								
								
									
										
											BIN
										
									
								
								source/assets/images/home-button-for-interface.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.4 KiB | 
| Before Width: | Height: | Size: 129 KiB After Width: | Height: | Size: 129 KiB | 
| Before Width: | Height: | Size: 253 KiB After Width: | Height: | Size: 253 KiB | 
| @@ -155,7 +155,7 @@ class ReviewCard extends HTMLElement { | ||||
| 		mealImg.setAttribute("alt","Meal Photo Corrupted"); | ||||
| 		mealImg.setAttribute("src",data["mealImg"]); | ||||
| 		mealImg.addEventListener("error", function(e) { | ||||
| 			mealImg.setAttribute("src", "./assets/images/icons/plate_with_cutlery.png"); | ||||
| 			mealImg.setAttribute("src", "./assets/images/plate_with_cutlery.png"); | ||||
| 			e.onerror = null; | ||||
| 		}); | ||||
|  | ||||
| @@ -182,7 +182,7 @@ class ReviewCard extends HTMLElement { | ||||
| 		ratingDiv.setAttribute("class", "rating"); | ||||
| 		let starsImg = document.createElement("img"); | ||||
| 		starsImg.setAttribute("id", "a-rating"); | ||||
| 		starsImg.setAttribute("src", "./assets/images/icons/"+data["rating"]+"-star.svg"); | ||||
| 		starsImg.setAttribute("src", "./assets/images/"+data["rating"]+"-star.svg"); | ||||
| 		starsImg.setAttribute("alt", data["rating"] +" stars"); | ||||
| 		starsImg.setAttribute("num", data["rating"]); | ||||
| 		ratingDiv.append(starsImg); | ||||
|   | ||||
| @@ -18,7 +18,7 @@ function setupInfo(){ | ||||
| 	let mealImg = document.getElementById("d-mealImg"); | ||||
| 	mealImg.setAttribute("src",currReview["mealImg"]); | ||||
| 	mealImg.addEventListener("error", function(e) { | ||||
| 		mealImg.setAttribute("src", "./assets/images/icons/plate_with_cutlery.png"); | ||||
| 		mealImg.setAttribute("src", "./assets/images/plate_with_cutlery.png"); | ||||
| 		e.onerror = null; | ||||
| 	}); | ||||
|  | ||||
| @@ -36,7 +36,7 @@ function setupInfo(){ | ||||
|  | ||||
| 	//rating | ||||
| 	let starsImg = document.getElementById("d-rating"); | ||||
| 	starsImg.setAttribute("src", "./assets/images/icons/"+currReview["rating"]+"-star.svg"); | ||||
| 	starsImg.setAttribute("src", "./assets/images/"+currReview["rating"]+"-star.svg"); | ||||
| 	starsImg.setAttribute("alt", currReview["rating"] +" stars"); | ||||
| 	 | ||||
| 	//tags | ||||
| @@ -167,7 +167,7 @@ function setupUpdate(){ | ||||
| 				tagContainer.removeChild(tags[i]); | ||||
| 			} | ||||
|  | ||||
| 			newData["reviewID"] = currID; | ||||
| 			newData["revietawID"] = currID; | ||||
|  | ||||
| 			updateReviewToStorage(currID, newData); | ||||
|  | ||||
|   | ||||