diff --git a/Chapter 11/Project_2.html b/Chapter 11/Project_2.html index 27ae87c..228d49b 100644 --- a/Chapter 11/Project_2.html +++ b/Chapter 11/Project_2.html @@ -36,7 +36,7 @@ stars.forEach((star, index) => { star.starValue = (index + 1); star.addEventListener("click", starRate); - }) + }); function starRate(e) { output.innerHTML = `You Rated this ${e.target.starValue} stars`; stars.forEach((star, index) => { @@ -45,7 +45,7 @@ } else { star.classList.remove("orange"); } - }) + }); }