diff --git a/week-09/event3/index.html b/week-09/event3/index.html
index 4b3b8b4..0797d63 100644
--- a/week-09/event3/index.html
+++ b/week-09/event3/index.html
@@ -41,7 +41,12 @@
const buttonBar = document.querySelector('.button-bar');
- // Add your code here
+ buttonBar.addEventListener('click', function(event) {
+ if (event.target.tagName === 'BUTTON') {
+ let color = event.target.dataset.color;
+ buttonBar.style.backgroundColor = color;
+ }
+ });